aboutsummaryrefslogtreecommitdiff
path: root/src/lib/daemon_quiesce.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/daemon_quiesce.c')
-rw-r--r--src/lib/daemon_quiesce.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/daemon_quiesce.c b/src/lib/daemon_quiesce.c
index 6231bf39..874536d0 100644
--- a/src/lib/daemon_quiesce.c
+++ b/src/lib/daemon_quiesce.c
@@ -58,7 +58,7 @@ MHD_daemon_quiesce (struct MHD_Daemon *daemon)
58#ifdef HAVE_MESSAGES 58#ifdef HAVE_MESSAGES
59 MHD_DLOG (daemon, 59 MHD_DLOG (daemon,
60 MHD_SC_SYSCALL_QUIESCE_REQUIRES_ITC, 60 MHD_SC_SYSCALL_QUIESCE_REQUIRES_ITC,
61 "Using MHD_quiesce_daemon in this mode requires ITC\n"); 61 "Using MHD_quiesce_daemon in this mode requires ITC.\n");
62#endif 62#endif
63 return MHD_INVALID_SOCKET; 63 return MHD_INVALID_SOCKET;
64 } 64 }
@@ -81,7 +81,7 @@ MHD_daemon_quiesce (struct MHD_Daemon *daemon)
81 EPOLL_CTL_DEL, 81 EPOLL_CTL_DEL,
82 listen_socket, 82 listen_socket,
83 NULL)) 83 NULL))
84 MHD_PANIC (_ ("Failed to remove listen FD from epoll set\n")); 84 MHD_PANIC (_ ("Failed to remove listen FD from epoll set.\n"));
85 worker->listen_socket_in_epoll = false; 85 worker->listen_socket_in_epoll = false;
86 } 86 }
87 else 87 else
@@ -91,7 +91,7 @@ MHD_daemon_quiesce (struct MHD_Daemon *daemon)
91 if (! MHD_itc_activate_ (worker->itc, 91 if (! MHD_itc_activate_ (worker->itc,
92 "q")) 92 "q"))
93 MHD_PANIC (_ ( 93 MHD_PANIC (_ (
94 "Failed to signal quiesce via inter-thread communication channel")); 94 "Failed to signal quiesce via inter-thread communication channel.\n"));
95 } 95 }
96 } 96 }
97 daemon->was_quiesced = true; 97 daemon->was_quiesced = true;
@@ -104,7 +104,7 @@ MHD_daemon_quiesce (struct MHD_Daemon *daemon)
104 EPOLL_CTL_DEL, 104 EPOLL_CTL_DEL,
105 listen_socket, 105 listen_socket,
106 NULL)) 106 NULL))
107 MHD_PANIC ("Failed to remove listen FD from epoll set\n"); 107 MHD_PANIC ("Failed to remove listen FD from epoll set.\n");
108 daemon->listen_socket_in_epoll = false; 108 daemon->listen_socket_in_epoll = false;
109 } 109 }
110#endif 110#endif
@@ -114,7 +114,7 @@ MHD_daemon_quiesce (struct MHD_Daemon *daemon)
114 (! MHD_itc_activate_ (daemon->itc, 114 (! MHD_itc_activate_ (daemon->itc,
115 "q")) ) 115 "q")) )
116 MHD_PANIC (_ ( 116 MHD_PANIC (_ (
117 "Failed to signal quiesce via inter-thread communication channel")); 117 "Failed to signal quiesce via inter-thread communication channel.\n"));
118 118
119 /* FIXME: we might want some bi-directional communication here 119 /* FIXME: we might want some bi-directional communication here
120 (in both the thread-pool and single-thread case!) 120 (in both the thread-pool and single-thread case!)