Typedefs | |
| typedef void(* | sigsafe_user_handler_t )(int, siginfo_t *, ucontext_t *, intptr_t) |
| User-specified handler type. | |
Functions | |
| int | sigsafe_install_handler (int signum, sigsafe_user_handler_t handler) |
| Installs a safe signal handler. | |
| int | sigsafe_install_tsd (intptr_t userdata, void(*destructor)(intptr_t)) |
| Installs thread-specific data. | |
| intptr_t | sigsafe_clear_received (void) |
| Clears the signal received flag for this thread. | |
|
|
User-specified handler type. Arguments:
Definition at line 102 of file sigsafe.h. Referenced by sigsafe_install_handler(). |
|
|
Clears the signal received flag for this thread.
After calling this function, sigsafe system calls will not receive
|
|
||||||||||||
|
Installs a safe signal handler. This installs a safe signal handler. It is global to the process. Note that nothing will happen on signal delivery if the thread in which it arrives has not called sigsafe_install_tsd.
Definition at line 107 of file sigsafe.c. References sigsafe_user_handler_t. |
|
||||||||||||
|
Installs thread-specific data. Before this is called for a given thread, "safe" signals delivered to that thread will be silently ignored. If you are concerned about signals delivered at thread startup, ensure threads start with blocked signals.
|
1.3.5