MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / pthread_sigmask

Function pthread_sigmask

components/libc/posix/pthreads/pthread.c:1147–1150  ·  view source on GitHub ↗

* @brief Modifies or retrieves the signal mask of the calling thread. * * The `pthread_sigmask` function allows a thread to block, unblock, or examine the signals in its signal mask. * Signals that are blocked are not delivered to the thread until they are unblocked. * * @param[in] how * Specifies how the signal mask is modified. Possible values: * - `SIG_BLOCK`: Add the signals in `set

Source from the content-addressed store, hash-verified

1145 * @see sigprocmask, sigaction, pthread_kill
1146 */
1147int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
1148{
1149 return sigprocmask(how, set, oset);
1150}
1151#endif
1152
1153/**

Callers 4

ThreadforKeyGetFunction · 0.85
sdl_loopFunction · 0.85
signal_maskFunction · 0.85
mainthread_schedulerFunction · 0.85

Calls 1

sigprocmaskFunction · 0.85

Tested by

no test coverage detected