Home
last modified time | relevance | path

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

123456

/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_sigmask.c33 int32_t ret = pthread_sigmask(SIG_BLOCK, &set, NULL); in pthread_sigmask_0100()
38 ret = pthread_sigmask(SIG_BLOCK, &setOne, &setEmpty); in pthread_sigmask_0100()
54 int32_t ret = pthread_sigmask(SIG_BLOCK, &set, NULL); in pthread_sigmask_0200()
58 ret = pthread_sigmask(SIG_BLOCK, &setEmpty, NULL); in pthread_sigmask_0200()
76 int32_t ret = pthread_sigmask(SIG_BLOCK + errorParam, &set, NULL); in pthread_sigmask_0300()
90 int32_t ret = pthread_sigmask(SIG_BLOCK, &set, NULL); in pthread_sigmask_0400()
92 ret = pthread_sigmask(SIG_BLOCK, NULL, &setEmpty); in pthread_sigmask_0400()
/third_party/musl/src/misc/
Dforkpty.c18 pthread_sigmask(SIG_BLOCK, &set, &oldset); in forkpty()
36 pthread_sigmask(SIG_SETMASK, &oldset, 0); in forkpty()
54 pthread_sigmask(SIG_SETMASK, &oldset, 0); in forkpty()
/third_party/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.
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
D4-3.c93 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()
/third_party/nghttp2/src/
Dshrpx_signal.cc44 rv = pthread_sigmask(SIG_SETMASK, &newset, oldset); in shrpx_signal_block_all()
65 rv = pthread_sigmask(SIG_SETMASK, &newset, nullptr); in shrpx_signal_unblock_all()
82 rv = pthread_sigmask(SIG_SETMASK, set, nullptr); in shrpx_signal_set()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
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()
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
D18-1.c105 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
173 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test()
197 ret = pthread_sigmask(operation[i], &set, NULL); in test()
252 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
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()
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()
/third_party/python/Lib/
Dsignal.py67 @_wraps(_signal.pthread_sigmask)
68 def pthread_sigmask(how, mask): function
69 sigs_set = _signal.pthread_sigmask(how, mask)
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
D4-2.c111 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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D4-1.c113 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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
D4-2.c81 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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D4-3.c84 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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/
D2-1.c105 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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
D8-1.c105 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
162 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test()
237 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
D3-3.c107 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()
/third_party/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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
D5-1.c106 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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/
D6-1.c104 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()
/third_party/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()
/third_party/python/Lib/test/
Dtest_signal.py1013 self.assertRaises(TypeError, signal.pthread_sigmask)
1014 self.assertRaises(TypeError, signal.pthread_sigmask, 1)
1015 self.assertRaises(TypeError, signal.pthread_sigmask, 1, 2, 3)
1016 self.assertRaises(OSError, signal.pthread_sigmask, 1700, [])
1018 signal.pthread_sigmask(signal.SIG_BLOCK, [signal.NSIG])
1020 signal.pthread_sigmask(signal.SIG_BLOCK, [0])
1022 signal.pthread_sigmask(signal.SIG_BLOCK, [1<<1000])
1027 s = signal.pthread_sigmask(signal.SIG_BLOCK, signal.valid_signals())
1028 self.addCleanup(signal.pthread_sigmask, signal.SIG_SETMASK, s)
1030 s = signal.pthread_sigmask(signal.SIG_UNBLOCK, signal.valid_signals())
/third_party/python/Lib/multiprocessing/
Dresource_tracker.py128 signal.pthread_sigmask(signal.SIG_BLOCK, _IGNORED_SIGNALS)
132 signal.pthread_sigmask(signal.SIG_UNBLOCK, _IGNORED_SIGNALS)
185 signal.pthread_sigmask(signal.SIG_UNBLOCK, _IGNORED_SIGNALS)

123456