/third_party/ltp/testcases/kernel/syscalls/rt_sigtimedwait/ |
H A D | rt_sigtimedwait01.c | 46 { .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 D | signal.py | 79 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 D | 2-1.c | 13 * 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 D | 1-1.c | 13 * 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 D | 4-1.c | 15 * 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 D | 8-1.c | 13 * 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 D | 3-1.c | 13 * 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 D | 6-2.c | 24 * -> create several threads which sigwait for SIGUSR1 96 ret = sigwait(&setusr, &sig); in threaded()
|
H A D | 6-1.c | 19 * 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 D | 7-1.c | 25 * -> 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 D | 6-1.c | 43 * 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 D | 9-1.c | 51 * 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 D | 2-1.c | 47 * 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 D | twoptimers.c | 75 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 D | pthread_kill_latency.c | 151 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 D | 48-1-buildonly.c | 3 int sigwait(const sigset_t *restrict, int *restrict); 14 dummyvar = sigwait; in dummyfcn()
|
/third_party/musl/src/signal/ |
H A D | sigwait.c | 3 int sigwait(const sigset_t *restrict mask, int *restrict sig) in sigwait() function
|
/third_party/ltp/testcases/kernel/syscalls/sigwait/ |
H A D | sigwait01.c | 11 int err = sigwait(set, &ret); in my_sigwait()
|
/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
H A D | sigwait.c | 51 result = sigwait(&set, &sig); in sigwait_0100()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/ |
H A D | 1-2.c | 68 if (0 != sigwait(&set, &sig)) { in main() 70 "Possible problem with sigwait function\n"); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ |
H A D | Makefile | 30 sigrelse sigsuspend sigtimedwait sigwait sigwaitinfo stime \
|
/third_party/ltp/include/ |
H A D | time64_variants.h | 55 int (*sigwait) (const sigset_t * set, siginfo_t * info, member
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
H A D | 1-1.c | 36 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 D | 4-1.c | 60 * 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 D | shmt06.c | 150 sigwait(&set, &sig); in child()
|