Home
last modified time | relevance | path

Searched refs:blocked_set (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
D5-1.c48 sigset_t blocked_set, pending_set; in a_thread_func() local
49 sigemptyset(&blocked_set); in a_thread_func()
50 sigaddset(&blocked_set, SIGABRT); in a_thread_func()
62 if (pthread_sigmask(SIG_SETMASK, &blocked_set, NULL) == -1) { in a_thread_func()
94 sigemptyset(&blocked_set); in a_thread_func()
95 sigaddset(&blocked_set, SIGUSR1); in a_thread_func()
97 if (pthread_sigmask(SIG_SETMASK, &blocked_set, NULL) == -1) { in a_thread_func()
/external/bison/lib/
Dsigprocmask.c185 static volatile sigset_t blocked_set /* = 0 */; variable
225 *old_set = blocked_set; in sigprocmask()
236 new_blocked_set = blocked_set | *set; in sigprocmask()
242 new_blocked_set = blocked_set & ~*set; in sigprocmask()
248 to_unblock = blocked_set & ~new_blocked_set; in sigprocmask()
249 to_block = new_blocked_set & ~blocked_set; in sigprocmask()
260 blocked_set |= 1U << sig; in sigprocmask()
278 blocked_set &= ~(1U << sig); in sigprocmask()
307 if (blocked_set & (1U << sig)) in rpl_signal()
337 if (blocked_set & (1U << SIGPIPE)) in _gl_raise_SIGPIPE()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/
D5-1.c26 sigset_t blocked_set, pending_set; in main() local
27 sigemptyset(&blocked_set); in main()
28 sigaddset(&blocked_set, SIGABRT); in main()
39 if (sigprocmask(SIG_SETMASK, &blocked_set, NULL) == -1) { in main()
/external/strace/
Dstrace.c164 static sigset_t start_set, blocked_set; variable
1134 sigprocmask(SIG_SETMASK, &blocked_set, NULL); in startup_attach()
1179 sigprocmask(SIG_SETMASK, &blocked_set, NULL); in startup_attach()
1606 sigaddset(&blocked_set, signo); in set_sigaction()
1826 memcpy(&blocked_set, &start_set, sizeof(blocked_set)); in init()
2348 sigprocmask(SIG_SETMASK, &blocked_set, NULL); in next_event()
DChangeLog1550 (init): Initialize start_set and blocked_set to the set of currently