Home
last modified time | relevance | path

Searched refs:sigwait (Results 1 - 25 of 55) sorted by relevance

123

/third_party/ltp/testcases/kernel/syscalls/rt_sigtimedwait/
H A Drt_sigtimedwait01.c46 { .sigwait = my_rt_sigtimedwait, .ts_type = TST_KERN_OLD_TIMESPEC, .desc = "syscall with old kernel spec"},
50 { .sigwait = my_rt_sigtimedwait_time64, .ts_type = TST_KERN_TIMESPEC, .desc = "syscall time64 with kernel spec"},
59 tc->tf(tv->sigwait, tc->signo, tv->ts_type); in run()
/third_party/python/Lib/
H A Dsignal.py79 if 'sigwait' in _globals:
80 @_wraps(_signal.sigwait)
81 def sigwait(sigset): function
82 retsig = _signal.sigwait(sigset)
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/
H A D2-1.c13 * Test that the sigwait() function.
14 * If prior to the call to sigwait() there are multiple pending instances of
21 * 3) Call sigwait()
24 * 5) Call sigwait() again to clear the second instance of the signal in the
83 /* Make sure SIGRTMIN is still pending since sigwait should have only in main()
90 /* Call sigwait to remove first SIGRTMIN instance from the in main()
92 if (sigwait(&newmask, &sig) != 0) { in main()
93 printf("Error in sigwait\n"); in main()
108 /* Call sigwait again to remove last SIGRTMIN instance from the in main()
110 if (sigwait( in main()
[all...]
H A D1-1.c13 * Test that the sigwait() function. If no signal in 'set' is pending at the
17 * 2) Call sigwait()
64 /* Call sigwait and test if it passed/failed */ in main()
65 if (sigwait(&newmask, &sig) != 0) { in main()
66 printf("Error in sigwait()\n"); in main()
71 printf("sigwait selected another signal\n"); in main()
H A D4-1.c15 * Test that the sigwait() function. If no signal in 'set' is pending at the
19 * 2) Call sigwait()
59 /* Call sigwait. It should wait for 5 seconds and then move in main()
61 if (sigwait(&newmask, &sig) != 0) { in main()
62 printf("Error in sigwait()\n"); in main()
H A D8-1.c13 * Test that the sigwait() function. Upon successful completion, sigwait()
17 * 2) Call sigwait()
19 * sigwait() forever.
53 /* Call sigwait and test if it passed/failed */ in main()
54 if (sigwait(&newmask, &sig) != 0) { in main()
55 printf("Error in sigwait()\n"); in main()
H A D3-1.c13 * Test that the sigwait() function.
14 * If prior to the call to sigwait() there are multiple pending instances of
21 * 3) Call sigwait()
81 /* Call sigwait */ in main()
82 if (sigwait(&newmask, &sig) != 0) { in main()
83 printf("Error in sigwait\n"); in main()
H A D6-2.c24 * -> create several threads which sigwait for SIGUSR1
96 ret = sigwait(&setusr, &sig); in threaded()
H A D6-1.c19 * If several threads are blocked in a call to sigwait,
24 * -> create several threads which sigwait for SIGUSR1
28 * The test fails if less or more than 1 thread returns from sigwait when the
96 ret = sigwait(&setusr, &sig); in threaded()
H A D7-1.c25 * -> sigwait a signal and check we get always teh lowest-ordered.
150 ret = sigwait(&set, &sig); in main()
153 UNRESOLVED(ret, "Failed to sigwait for RT signal"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/
H A D6-1.c43 * in call to sigwait immediately after timer is set in main()
98 if (sigwait(&set, &sig) == -1) { in main()
99 perror("sigwait() failed\n"); in main()
124 if (sigwait(&set, &sig) == -1) { in main()
125 perror("sigwait() failed\n"); in main()
H A D9-1.c51 * in call to sigwait immediately after timer is set in main()
99 if (sigwait(&set, &sig) == -1) { in main()
100 perror("sigwait() failed\n"); in main()
H A D2-1.c47 * in call to sigwait immediately after timer is set in main()
103 if (sigwait(&set, &sig) == -1) { in main()
104 perror("sigwait() failed\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/functional/timers/timers/
H A Dtwoptimers.c75 if (sigwait(&set, &sig) == -1) { in main()
76 perror("sigwait() failed\n"); in main()
130 if (sigwait(&set, &sig) == -1) { in main()
131 perror("sigwait() failed\n"); in main()
/third_party/ltp/testcases/realtime/func/pthread_kill_latency/
H A Dpthread_kill_latency.c151 sigwait(&set, &sig); in signal_receiving_thread()
160 sigwait(&set, &sig); in signal_receiving_thread()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
H A D48-1-buildonly.c3 int sigwait(const sigset_t *restrict, int *restrict);
14 dummyvar = sigwait; in dummyfcn()
/third_party/musl/src/signal/
H A Dsigwait.c3 int sigwait(const sigset_t *restrict mask, int *restrict sig) in sigwait() function
/third_party/ltp/testcases/kernel/syscalls/sigwait/
H A Dsigwait01.c11 int err = sigwait(set, &ret); in my_sigwait()
/third_party/musl/libc-test/src/functionalext/supplement/signal/
H A Dsigwait.c51 result = sigwait(&set, &sig); in sigwait_0100()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/
H A D1-2.c68 if (0 != sigwait(&set, &sig)) { in main()
70 "Possible problem with sigwait function\n"); in main()
/third_party/ltp/testcases/kernel/syscalls/
H A DMakefile30 sigrelse sigsuspend sigtimedwait sigwait sigwaitinfo stime \
/third_party/ltp/include/
H A Dtime64_variants.h55 int (*sigwait) (const sigset_t * set, siginfo_t * info, member
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
H A D1-1.c36 if (sigwait(&signalset, &sig) != 0) { in child_proc()
37 perror("An error occurs when calling sigwait()"); in child_proc()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
H A D4-1.c60 * set up signal set for sigwait in main()
107 if (sigwait(&set, &sig) == -1) { in main()
108 perror("sigwait() was not successful\n"); in main()
/third_party/ltp/testcases/kernel/mem/shmt/
H A Dshmt06.c150 sigwait(&set, &sig); in child()

Completed in 6 milliseconds

123