projects
/
archipelago
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cb7421
)
Remove async unsafe functions from signal handlers
author
Filippos Giannakos
<philipgian@grnet.gr>
Mon, 8 Apr 2013 15:37:23 +0000
(18:37 +0300)
committer
Filippos Giannakos
<philipgian@grnet.gr>
Fri, 17 May 2013 08:57:54 +0000
(11:57 +0300)
(cherry picked from commit
2d2a24a26ff9f3a7fd651b1c2386fbd31166a5e1
)
xseg/peers/user/peer.c
patch
|
blob
|
history
diff --git
a/xseg/peers/user/peer.c
b/xseg/peers/user/peer.c
index
c2af245
..
cefc089
100644
(file)
--- a/
xseg/peers/user/peer.c
+++ b/
xseg/peers/user/peer.c
@@
-90,7
+90,7
@@
inline static int wake_up_next_thread(struct peerd *peer)
void signal_handler(int signal)
{
- XSEGLOG2(&lc, I, "Caught signal. Terminating gracefully");
+// XSEGLOG2(&lc, I, "Caught signal. Terminating gracefully");
terminated = 1;
#ifdef MT
wake_up_next_thread(global_peer);
@@
-99,7
+99,7
@@
void signal_handler(int signal)
void renew_logfile(int signal)
{
- XSEGLOG2(&lc, I, "Caught signal. Renewing logfile");
+// XSEGLOG2(&lc, I, "Caught signal. Renewing logfile");
renew_logctx(&lc, NULL, verbose, NULL, REOPEN_FILE);
}