diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-15 18:52:56 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-15 18:52:56 +0200 |
commit | c77c9a162a57ca140b922859b06cba6bcba3fb22 (patch) | |
tree | 7d3d71ddc43183fcc65ed1bbfa341568ee00caad /src/signal.h | |
parent | docker: fix failing valgrind runs (diff) | |
download | cimple-c77c9a162a57ca140b922859b06cba6bcba3fb22.tar.gz cimple-c77c9a162a57ca140b922859b06cba6bcba3fb22.zip |
signal: refactoring, add comments in tcp_server, etc.
Diffstat (limited to '')
-rw-r--r-- | src/signal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/signal.h b/src/signal.h index 88c9734..713c842 100644 --- a/src/signal.h +++ b/src/signal.h @@ -11,11 +11,11 @@ #include <signal.h> extern volatile sig_atomic_t global_stop_flag; -int signal_install_global_handler(void); +int signal_handle_stop_signals(void); -int signal_set(const sigset_t *new, sigset_t *old); +int signal_block_all(sigset_t *old); +int signal_restore(const sigset_t *new); -int signal_block_parent(sigset_t *old); -int signal_block_child(void); +int signal_unblock_all_except_stop_signals(void); #endif |