Searched refs:sigmask (Results 1 – 2 of 2) sorted by relevance
/test/xts/acts/kernel_lite/ipc_posix/signal/ |
D | SignalTest.cpp | 447 sigset_t sigmask, timeset; variable 448 sigemptyset(&sigmask); 449 sigaddset(&sigmask, SIGINT); 450 sigaddset(&sigmask, SIGSEGV); 454 sigprocmask(SIG_BLOCK, &sigmask, nullptr); 464 sigemptyset(&sigmask); 465 sigprocmask(SIG_UNBLOCK, nullptr, &sigmask); 466 if (sigismember(&sigmask, SIGINT) != 1) { 470 if (sigismember(&sigmask, SIGSEGV) != 1) { 699 sigset_t sigmask; variable [all …]
|
D | SignalTestUtils.cpp | 250 sigset_t sigmask, oldmask; in ThreadFuncForSigmask1() local 251 sigemptyset(&sigmask); in ThreadFuncForSigmask1() 253 sigaddset(&sigmask, SIGINT); in ThreadFuncForSigmask1() 254 sigaddset(&sigmask, SIGUSR1); in ThreadFuncForSigmask1() 255 rt = pthread_sigmask(SIG_BLOCK, &sigmask, &oldmask); in ThreadFuncForSigmask1() 261 sigemptyset(&sigmask); in ThreadFuncForSigmask1() 262 sigaddset(&sigmask, SIGINT); in ThreadFuncForSigmask1() 263 rt = pthread_sigmask(SIG_UNBLOCK, &sigmask, nullptr); in ThreadFuncForSigmask1() 279 sigset_t sigmask, oldmask; in ThreadFuncForSigmask2() local 280 sigemptyset(&sigmask); in ThreadFuncForSigmask2() [all …]
|