/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | posix_signal_blocker.hpp | 39 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/ |
D | signal.py | 58 @_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/sigprocmask/ |
D | coverage.txt | 17 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_detach/ |
D | 4-3.c | 92 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 138 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in threaded() 163 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in test() 233 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in do_child() 268 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in do_child()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/ |
D | coverage.txt | 1 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
|
D | 12-1.c | 88 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()
|
D | 18-1.c | 105 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 181 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test() 205 ret = pthread_sigmask(operation[i], &set, NULL); in test() 260 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|
D | 10-1.c | 28 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()
|
D | 9-1.c | 57 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()
|
D | 4-1.c | 67 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()
|
D | 5-1.c | 62 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()
|
/external/libcap/psx/ |
D | psx.c | 387 pthread_sigmask(SIG_UNBLOCK, &sigbit, &orig_sigbits); in _psx_exiting() 389 pthread_sigmask(SIG_UNBLOCK, &sigbit, NULL); in _psx_exiting() 410 pthread_sigmask(SIG_SETMASK, &orig_sigbits, NULL); in _psx_exiting() 434 pthread_sigmask(SIG_SETMASK, &starter->sigbits, NULL); in _psx_start_fn() 467 pthread_sigmask(SIG_UNBLOCK, &sigbit, &starter->sigbits); in __wrap_pthread_create() 469 pthread_sigmask(SIG_UNBLOCK, &sigbit, &orig_sigbits); in __wrap_pthread_create() 478 pthread_sigmask(SIG_BLOCK, &sigbit, NULL); in __wrap_pthread_create() 488 pthread_sigmask(SIG_SETMASK, &orig_sigbits, NULL); in __wrap_pthread_create()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
D | 4-2.c | 111 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 163 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in waiter() 199 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in worker() 250 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 4-3.c | 84 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 141 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in waiter() 198 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in worker() 261 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
D | 4-2.c | 81 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 129 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in waiter() 160 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in worker() 206 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 4-1.c | 113 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 165 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in waiter() 210 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in worker() 273 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|
/external/llvm-project/compiler-rt/test/tsan/ |
D | signal_block.cpp | 26 if (pthread_sigmask(SIG_BLOCK, &myset, 0)) { in thread() 33 if (pthread_sigmask(SIG_UNBLOCK, &myset, 0)) { in thread()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/ |
D | 2-1.c | 105 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 157 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test() 215 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/ |
D | 3-3.c | 107 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 179 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test() 238 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
D | 8-1.c | 105 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 170 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test() 245 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|
/external/llvm-project/compiler-rt/test/tsan/Darwin/ |
D | signals-blocked.cpp | 23 int ret = pthread_sigmask(SIG_UNBLOCK, &sigset, NULL); in thr() 61 int ret = pthread_sigmask(SIG_BLOCK, &sigset, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/ |
D | 6-1.c | 104 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 169 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test() 253 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/ |
D | 5-1.c | 106 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 171 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test() 220 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
D | cpuset_memory_test.c | 293 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_join/ |
D | 6-3.c | 76 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig() 128 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test() 198 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
|