From f3cf22b436f8f3e20a9b2f9256ff7c58aa0afda3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 12 Aug 2014 02:29:52 +0200 Subject: misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-base.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/mds-base.h') diff --git a/src/mds-base.h b/src/mds-base.h index 68feb32..2dac449 100644 --- a/src/mds-base.h +++ b/src/mds-base.h @@ -180,21 +180,26 @@ void received_noop(int signo) __attribute__((weak, const)); /** * This function should be implemented by the actual server implementation - * if the server is multithreaded + * if the server is multi-threaded * + * Send a singal to all threads except the current thread + * + * @param signo The signal + */ +void signal_all(int signo) __attribute__((weak)); + +/** * This function is called when a signal that * signals the server to re-exec has been received * - * When this function is invoked, it should set `reexecing` to a non-zero value + * When this function is invoked, it should set `reexecing` and + * `terminating` to a non-zero value * * @param signo The signal that has been received */ void received_reexec(int signo); /* __attribute__((weak)) */ /** - * This function should be implemented by the actual server implementation - * if the server is multithreaded - * * This function is called when a signal that * signals the server to re-exec has been received * -- cgit v1.2.3-70-g09d2