int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset);
The resulting set is the union of the current set and the specified signal set.
The resulting set is the specified signal set.
The resulting set is the intersection of the current set and the complement of the specified signal set.
If the argument oset is non-NULL, the previous mask is stored in the specified location. If set is NULL, the value of argument how is not significant and the thread's signal mask is unchanged. This can be used to determine the current signal mask without altering it.
If there are any pending unblocked signals after the call to
It is not possible to block those signals that cannot be ignored. This is enforced by the system without causing an error to be indicated.
If any of the SIGFPE, SIGILL, SIGSEGV, or SIGBUS signals are generated while they are blocked, the result is undefined, unless the signal was generated by a function capable of sending a signal to a specific process or thread.
Specifies how the new signal mask parameter is to be combined with the current signal mask; one of the values specified above.
Is the new signal mask to be combined with the current signal mask. This parameter can be NULL, in which case the signal mask is not modified, and the existing signal mask may be returned in oset.
Is the location where the current signal mask is stored. This can be NULL if the current signal mask is not required.
POSIX P1003.1 (1996)
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
kill(), sigaction(), sigaddset(), sigdelset(), sigemptyset(), sigfillset(), sigismember(), signal(), sigpending(), sigprocmask(), sigsuspend()
PTC MKS Toolkit 10.2 Documentation Build 28.