Home
last modified time | relevance | path

Searched refs:pthread_sigmask (Results 1 – 25 of 79) sorted by relevance

1234

/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dposix_signal_blocker.hpp39 blocked_ = (pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_) == 0); in posix_signal_blocker()
46 pthread_sigmask(SIG_SETMASK, &old_mask_, 0); in ~posix_signal_blocker()
56 blocked_ = (pthread_sigmask(SIG_BLOCK, &new_mask, &old_mask_) == 0); in block()
64 blocked_ = (pthread_sigmask(SIG_SETMASK, &old_mask_, 0) != 0); in unblock()
/external/python/cpython3/Lib/
Dsignal.py58 @_wraps(_signal.pthread_sigmask)
59 def pthread_sigmask(how, mask): function
60 sigs_set = _signal.pthread_sigmask(how, mask)
62 pthread_sigmask.__doc__ = _signal.pthread_sigmask.__doc__
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
D4-3.c96 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
139 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in threaded()
164 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in test()
234 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in do_child()
269 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in do_child()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/
Dcoverage.txt17 14 WON'T test, bacause it is pthread_sigmask() specific and tested in there.
19 16 WON'T test, bacause it is pthread_sigmask() specific and tested in there.
21 18 WON'T test, bacause it is pthread_sigmask() specific and tested in there.
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
D18-1.c107 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
183 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test()
207 ret = pthread_sigmask(operation[i], &set, NULL); in test()
262 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
Dcoverage.txt1 This document defines the coverage for function pthread_sigmask(). The functions pthread_sigmask()
2 and sigprocmask() are equivalent functions, but pthread_sigmask() should also work in a
D12-1.c88 pthread_sigmask(SIG_SETMASK, &actl, NULL); in a_thread_func()
91 if (pthread_sigmask(r, &actl, NULL) != EINVAL) { in a_thread_func()
97 pthread_sigmask(SIG_SETMASK, NULL, &oactl); in a_thread_func()
D10-1.c28 pthread_sigmask_return_val = pthread_sigmask(SIG_SETMASK, &set1, NULL); in a_thread_func()
29 pthread_sigmask(SIG_SETMASK, NULL, &set2); in a_thread_func()
D9-1.c57 if (pthread_sigmask(SIG_SETMASK, &blocked_set1, NULL) == -1) { in a_thread_func()
70 pthread_sigmask(SIG_UNBLOCK, &blocked_set1, NULL); in a_thread_func()
D4-1.c67 if (pthread_sigmask(SIG_SETMASK, &blocked_set1, NULL) == -1) { in a_thread_func()
73 if (pthread_sigmask(SIG_BLOCK, &blocked_set2, NULL) == -1) { in a_thread_func()
D5-1.c62 if (pthread_sigmask(SIG_SETMASK, &blocked_set, NULL) == -1) { in a_thread_func()
97 if (pthread_sigmask(SIG_SETMASK, &blocked_set, NULL) == -1) { in a_thread_func()
D8-2.c67 pthread_sigmask(SIG_SETMASK, &actl, NULL); in a_thread_func()
68 pthread_sigmask(SIG_SETMASK, NULL, &oactl); in a_thread_func()
D8-3.c66 pthread_sigmask(SIG_SETMASK, &actl, NULL); in a_thread_func()
67 pthread_sigmask(SIG_UNBLOCK, NULL, &oactl); in a_thread_func()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
D4-2.c113 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
165 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in waiter()
201 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in worker()
252 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
D4-2.c82 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
130 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in waiter()
161 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in worker()
207 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D4-3.c87 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
144 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in waiter()
201 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in worker()
264 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D4-1.c115 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
167 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in waiter()
212 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in worker()
275 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
D3-3.c109 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
181 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test()
240 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
D8-1.c107 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
172 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test()
247 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/
D2-1.c107 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
159 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test()
217 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_test.c293 pthread_sigmask(SIG_BLOCK, &set, NULL); in thread2_routine()
297 pthread_sigmask(SIG_BLOCK, &waitset, NULL); in thread2_routine()
341 pthread_sigmask(SIG_BLOCK, &set, NULL); in main()
349 pthread_sigmask(SIG_BLOCK, &waitset, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
D5-1.c109 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
174 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test()
223 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/
D6-1.c106 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
171 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test()
255 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
/external/valgrind/none/tests/
Dpth_term_signal.c20 if (pthread_sigmask(SIG_UNBLOCK, &sigmask, 0)) in slavethread()
55 if (pthread_sigmask(SIG_BLOCK, &sigmask, 0)) in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
D6-3.c77 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
129 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test()
199 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()

1234