Home
last modified time | relevance | path

Searched refs:sigset (Results 1 – 25 of 59) sorted by relevance

123

/external/autotest/client/tests/signaltest/src/
Dsignaltest.c96 sigset_t sigset; in signalthread() local
121 sigemptyset(&sigset); in signalthread()
122 sigaddset(&sigset, par->signal); in signalthread()
123 sigprocmask(SIG_BLOCK, &sigset, NULL); in signalthread()
145 if (sigwait(&sigset, &sigs) < 0) in signalthread()
315 sigset_t sigset; in main() local
330 sigemptyset(&sigset); in main()
331 sigaddset(&sigset, signum); in main()
332 sigprocmask (SIG_BLOCK, &sigset, NULL); in main()
/external/ltp/testcases/kernel/syscalls/sigpending/
Dsigpending02.c70 sigset_t *sigset; in main() local
80 sigset = (sigset_t *) - 1; in main()
92 TEST(sigpending(sigset)); in main()
/external/autotest/client/tests/cyclictest/src/
Dcyclictest.c202 sigset_t sigset; in timerthread() local
231 sigemptyset(&sigset); in timerthread()
232 sigaddset(&sigset, par->signal); in timerthread()
233 sigprocmask(SIG_BLOCK, &sigset, NULL); in timerthread()
287 if (sigwait(&sigset, &sigs) < 0) in timerthread()
521 sigset_t sigset; in main() local
542 sigemptyset(&sigset); in main()
543 sigaddset(&sigset, signum); in main()
544 sigprocmask (SIG_BLOCK, &sigset, NULL); in main()
/external/compiler-rt/test/tsan/
Dsignal_recursive.cc38 sigset_t sigset; in SuspendHandler() local
39 sigemptyset(&sigset); in SuspendHandler()
40 pthread_sigmask(SIG_SETMASK, &sigset, 0); in SuspendHandler()
/external/python/cpython3/Modules/clinic/
Dsignalmodule.c.h343 signal_sigtimedwait_impl(PyObject *module, PyObject *sigset,
350 PyObject *sigset; in signal_sigtimedwait() local
355 &sigset, &timeout_obj)) { in signal_sigtimedwait()
358 return_value = signal_sigtimedwait_impl(module, sigset, timeout_obj); in signal_sigtimedwait()
/external/python/cpython3/Lib/
Dsignal.py74 def sigwait(sigset): argument
75 retsig = _signal.sigwait(sigset)
/external/ltp/testcases/kernel/syscalls/kill/
Dkill12.c89 if (sigset(SIGCHLD, chsig) == SIG_ERR) { in main()
201 sigset(sig, SIG_IGN); /* set to ignore signal */ in do_child()
/external/ltp/testcases/kernel/mem/vmtests/
Ddata_space.c137 if (sigset(SIGTERM, (void (*)())term) == SIG_ERR) {
140 if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) {
466 if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { in chld()
/external/python/cpython3/Modules/
Dsignalmodule.c895 signal_sigwait(PyObject *module, PyObject *sigset) in signal_sigwait() argument
901 if (iterable_to_sigset(sigset, &set)) in signal_sigwait()
984 signal_sigwaitinfo(PyObject *module, PyObject *sigset) in signal_sigwaitinfo() argument
992 if (iterable_to_sigset(sigset, &set)) in signal_sigwaitinfo()
1024 signal_sigtimedwait_impl(PyObject *module, PyObject *sigset, in signal_sigtimedwait_impl() argument
1043 if (iterable_to_sigset(sigset, &set)) in signal_sigtimedwait_impl()
/external/python/cpython3/Doc/library/
Dsignal.rst375 .. function:: sigwait(sigset)
378 signals specified in the signal set *sigset*. The function accepts the signal
390 .. function:: sigwaitinfo(sigset)
393 signals specified in the signal set *sigset*. The function accepts the
395 signals in *sigset* is already pending for the calling thread, the function
399 *sigset*.
414 The function is now retried if interrupted by a signal not in *sigset*
419 .. function:: sigtimedwait(sigset, timeout)
434 by a signal not in *sigset* and the signal handler does not raise an
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
D45-1-buildonly.c14 dummyvar = sigset; in dummyfcn()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/
D10-1.c23 if (sigset(SIGKILL, SIG_IGN) == SIG_ERR) { in main()
D3-1.c34 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
Dcoverage.txt1 This file defines the coverage for the sigset() function testing.
D8-1.c33 if (sigset(SIGCHLD, SIG_HOLD) != SIG_HOLD) { in main()
D9-1.c37 if (sigset(SIGUSR1, SIG_DFL) != myhandler) { in main()
D4-1.c34 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
D1-1.c48 if (sigset(SIGCHLD, SIG_DFL) != myhandler) { in main()
D2-1.c46 if (sigset(SIGUSR1, SIG_IGN) != myhandler) { in main()
D6-1.c51 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
D7-1.c59 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
D5-1.c68 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
/external/tcpdump/
Dsetsignal.c84 return (sigset(sig, func)); in setsignal()
/external/dhcpcd-6.8.2/
Ddhcpcd.h108 sigset_t sigset; member
/external/ltp/testcases/kernel/syscalls/write/
Dwrite04.c104 sigset(SIGALRM, alarm_handler); in main()

123