mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
r20930: use sigaction() instead of signal()
add support for sa_flags argument to event_add_signal(). These are
passed to sigaction(). Special handling is provided for SA_RESETHAND
(which tells the event system to remove the handler after the signal)
and SA_SIGINFO which allows the siginfo structure to be received per
signal
(This used to be commit 1bb10b6cf7)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c6174d5d6f
commit
cf8eef4ad8
@@ -40,4 +40,8 @@
|
||||
#include <setjmp.h>
|
||||
#endif
|
||||
|
||||
#ifndef SA_RESETHAND
|
||||
#define SA_RESETHAND SA_ONESHOT
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user