/third_party/ltp/testcases/kernel/syscalls/sigtimedwait/ |
D | sigtimedwait01.c | 13 { test_empty_set, SIGUSR1}, 14 { test_unmasked_matching, SIGUSR1}, 15 { test_masked_matching, SIGUSR1}, 16 { test_unmasked_matching_noinfo, SIGUSR1}, 17 { test_masked_matching_noinfo, SIGUSR1}, 18 { test_bad_address, SIGUSR1}, 19 { test_bad_address2, SIGUSR1}, 20 { test_bad_address3, SIGUSR1},
|
/third_party/ltp/testcases/kernel/syscalls/sigwaitinfo/ |
D | sigwaitinfo01.c | 13 { test_empty_set, SIGUSR1}, 14 { test_unmasked_matching, SIGUSR1}, 15 { test_masked_matching, SIGUSR1}, 16 { test_unmasked_matching_noinfo, SIGUSR1}, 17 { test_masked_matching_noinfo, SIGUSR1}, 18 { test_bad_address, SIGUSR1}, 19 { test_bad_address2, SIGUSR1},
|
/third_party/ltp/testcases/kernel/syscalls/rt_sigtimedwait/ |
D | rt_sigtimedwait01.c | 24 { test_empty_set, SIGUSR1}, 25 { test_unmasked_matching, SIGUSR1}, 26 { test_masked_matching, SIGUSR1}, 27 { test_unmasked_matching_noinfo, SIGUSR1}, 28 { test_masked_matching_noinfo, SIGUSR1}, 29 { test_bad_address, SIGUSR1}, 30 { test_bad_address2, SIGUSR1}, 31 { test_bad_address3, SIGUSR1},
|
/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/ |
D | run_cpuctl_test_fj.sh | 289 /bin/kill -s SIGUSR1 $pid 291 /bin/kill -s SIGUSR1 $pid 317 /bin/kill -s SIGUSR1 $pid 319 /bin/kill -s SIGUSR1 $pid 345 /bin/kill -s SIGUSR1 $pid 347 /bin/kill -s SIGUSR1 $pid 373 /bin/kill -s SIGUSR1 $pid 375 /bin/kill -s SIGUSR1 $pid 401 /bin/kill -s SIGUSR1 $pid 403 /bin/kill -s SIGUSR1 $pid [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 1-1.c | 32 if (sigaddset(&signalset, SIGUSR1) != 0) { in child_proc() 61 kill(child_pid, SIGUSR1); in main() 85 kill(child_pid, SIGUSR1); in main() 91 kill(child_pid, SIGUSR1); in main() 95 kill(child_pid, SIGUSR1); in main() 100 kill(child_pid, SIGUSR1); in main() 110 kill(child_pid, SIGUSR1); in main() 116 kill(child_pid, SIGUSR1); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
D | pthread_sigmask.c | 32 sigaddset(&set, SIGUSR1); in pthread_sigmask_0100() 40 sigismember(&set, SIGUSR1); in pthread_sigmask_0100() 41 EXPECT_EQ("pthread_sigmask_0100", sigismember(&set, SIGUSR1), 1); in pthread_sigmask_0100() 52 sigaddset(&set, SIGUSR1); in pthread_sigmask_0200() 60 ret = sigismember(&set, SIGUSR1); in pthread_sigmask_0200() 74 sigaddset(&set, SIGUSR1); in pthread_sigmask_0300() 88 sigaddset(&set, SIGUSR1); in pthread_sigmask_0400() 94 ret = sigismember(&set, SIGUSR1); in pthread_sigmask_0400()
|
/third_party/python/Lib/test/ |
D | test_threadsignals.py | 21 usr1 = signal.signal(signal.SIGUSR1, for_usr1) 35 os.kill(process_pid, signal.SIGUSR1) 57 if signal_blackboard[signal.SIGUSR1]['tripped'] == 0 \ 65 self.assertEqual( signal_blackboard[signal.SIGUSR1]['tripped'], 1) 66 self.assertEqual( signal_blackboard[signal.SIGUSR1]['tripped_by'], 153 old_handler = signal.signal(signal.SIGUSR1, my_handler) 162 os.kill(process_pid, signal.SIGUSR1) 178 signal.signal(signal.SIGUSR1, old_handler) 203 old_handler = signal.signal(signal.SIGUSR1, my_handler) 212 os.kill(process_pid, signal.SIGUSR1) [all …]
|
/third_party/ltp/testcases/kernel/syscalls/vfork/ |
D | vfork02.c | 127 if (sigismember(&PendSig, SIGUSR1) != 0) { in main() 178 if (signal(SIGUSR1, sig_handler) == SIG_ERR) { in setup() 183 if (sighold(SIGUSR1) == -1) { in setup() 189 SAFE_KILL(cleanup, getpid(), SIGUSR1); in setup() 198 if (sigismember(&PendSig, SIGUSR1) != 1) { in setup() 225 if (sigrelse(SIGUSR1) == -1) { in cleanup()
|
/third_party/musl/libc-test/src/functional/ |
D | setjmp.c | 31 sigaddset(&set, SIGUSR1); in main() 41 sigaddset(&set, SIGUSR1); in main() 47 TEST(sigismember(&set2, SIGUSR1)==0, "siglongjmp failed to restore mask\n"); in main() 50 sigaddset(&set, SIGUSR1); in main() 56 sigaddset(&set, SIGUSR1); in main() 62 TEST(sigismember(&set2, SIGUSR1)==1, "siglongjmp incorrectly restored mask\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 28-17.c | 63 if (signal(SIGUSR1, handler_1) == SIG_ERR) { in main() 83 ret = sigaction(SIGUSR1, &sa, &save); in main() 91 ret = raise(SIGUSR1); in main() 104 ret = sigaction(SIGUSR1, &save, 0); in main() 112 ret = raise(SIGUSR1); in main()
|
D | 3-17.c | 40 if (sigaction(SIGUSR1, &act, 0) == -1) { in main() 46 if (sigaction(SIGUSR1, 0, &oact) == -1) { in main() 52 if (raise(SIGUSR1) == -1) { in main()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
D | cpuset_memory_testset.sh | 55 /bin/kill -s SIGUSR1 $1 57 /bin/kill -s SIGUSR1 $1 283 /bin/kill -s SIGUSR1 $1 286 /bin/kill -s SIGUSR1 $1 288 /bin/kill -s SIGUSR1 $1 385 /bin/kill -s SIGUSR1 $1 389 /bin/kill -s SIGUSR1 $1 391 /bin/kill -s SIGUSR1 $1 505 /bin/kill -s SIGUSR1 $testpid 561 /bin/kill -s SIGUSR1 $testpid [all …]
|
/third_party/ltp/testcases/kernel/syscalls/tgkill/ |
D | tgkill03.c | 52 sigaddset(&sigusr1, SIGUSR1); in setup() 85 { "Invalid tgid", &invalid_pid, &parent_tid, SIGUSR1, EINVAL }, 86 { "Invalid tid", &parent_tgid, &invalid_pid, SIGUSR1, EINVAL }, 88 { "Defunct tid", &parent_tgid, &defunct_tid, SIGUSR1, ESRCH }, 89 { "Defunct tgid", &defunct_tid, &child_tid, SIGUSR1, ESRCH }, 90 { "Valid tgkill call", &parent_tgid, &child_tid, SIGUSR1, 0 },
|
/third_party/ltp/testcases/kernel/syscalls/sigpending/ |
D | sigpending02.c | 72 sigaddset(&only_SIGUSR, SIGUSR1); in test_sigpending() 76 old_sighandler1 = SAFE_SIGNAL(SIGUSR1, sighandler); in test_sigpending() 90 if (raise(SIGUSR1)) in test_sigpending() 100 if ((i == SIGUSR1) != sigismember(&pending, i)) in test_sigpending() 114 if ((i == SIGUSR1 || i == SIGUSR2) != sigismember(&pending, i)) in test_sigpending() 130 SAFE_SIGNAL(SIGUSR1, old_sighandler1); in test_sigpending()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigsuspend/ |
D | 4-1.c | 50 SIGUSR1, SIGUSR2, in is_changed() 93 if (sigaction(SIGUSR1, &act, 0) == -1) { in main() 100 sigaddset(&originalmask, SIGUSR1); in main() 111 if (is_changed(currentmask, SIGUSR1) != 0) { in main() 126 kill(pid, SIGUSR1); in main()
|
D | 1-1.c | 54 if (signo == SIGUSR1) { in handler() 89 if (sigaction(SIGUSR1, &act, 0) == -1) { in main() 102 sigaddset(&originalmask, SIGUSR1); in main() 129 kill(pid, SIGUSR1); in main()
|
/third_party/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/ |
D | rt_tgsigqueueinfo01.c | 57 syscall(__NR_gettid), SIGUSR1, &uinfo)); in send_rcv_func() 64 if ((signum_rcv == SIGUSR1) && (sigval_rcv == sigval_send)) in send_rcv_func() 95 if ((signum_rcv == SIGUSR1) && (sigval_rcv == sigval_send)) in receiver_func() 119 tid, SIGUSR1, &uinfo)); in verify_signal_parent_thread() 136 *tid, SIGUSR1, &uinfo)); in sender_func() 179 SAFE_SIGACTION(SIGUSR1, &sigusr1, NULL); in setup()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 12-1.c | 68 ret = sigaddset(&mask, SIGUSR1); in main() 87 ret = kill(getpid(), SIGUSR1); in main() 107 ret = sigismember(&pending, SIGUSR1); in main() 147 ret = sigismember(&mask, SIGUSR1); in main() 183 ret = sigismember(&pending, SIGUSR1); in main()
|
/third_party/ltp/testcases/kernel/containers/pidns/ |
D | pidns20.c | 68 if (si->si_signo != SIGUSR1) in child_signal_handler() 103 sigaddset(&newset, SIGUSR1); in child_fn() 127 if (sigaction(SIGUSR1, &sa, NULL) == -1) { in child_fn() 183 SAFE_KILL(NULL, cpid, SIGUSR1); in main() 194 if (WTERMSIG(status) == SIGUSR1) in main()
|
/third_party/libuv/docs/code/signal/ |
D | main.c | 28 uv_signal_start(&sig1a, signal_handler, SIGUSR1); in thread1_worker() 31 uv_signal_start(&sig1b, signal_handler, SIGUSR1); in thread1_worker() 44 uv_signal_start(&sig2, signal_handler, SIGUSR1); in thread2_worker() 48 uv_signal_start(&sig3, signal_handler, SIGUSR1); in thread2_worker()
|
/third_party/ltp/testcases/kernel/mem/page/ |
D | page02.c | 83 if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) { 142 kill(parent_pid, SIGUSR1); 149 kill(parent_pid, SIGUSR1); 152 kill(parent_pid, SIGUSR1); 232 if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) { in chld()
|
/third_party/libuv/test/ |
D | test-signal-multiple-loops.c | 69 ASSERT(signum == SIGUSR1); in signal1_cb() 98 r = uv_signal_start(&signal1a, signal1_cb, SIGUSR1); in signal_handling_worker() 102 r = uv_signal_start(&signal1b, signal1_cb, SIGUSR1); in signal_handling_worker() 124 r = uv_signal_start(&signal1a, signal1_cb, SIGUSR1); in signal_handling_worker() 126 r = uv_signal_start(&signal1b, signal1_cb, SIGUSR1); in signal_handling_worker() 247 r = kill(getpid(), SIGUSR1); in TEST_IMPL() 263 r = kill(getpid(), SIGUSR1); in TEST_IMPL()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 8-1.c | 56 if (sigaddset(&main_sigmask, SIGUSR1) != 0) { in main() 72 if (raise(SIGUSR1) != 0) { in main() 93 ret = sigismember(&th_sigmask, SIGUSR1); in main() 113 ret = sigismember(&th_pendingset, SIGUSR1); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/ |
D | 2-1.c | 40 if (sigaction(SIGUSR1, &act, 0) != 0) { in main() 45 if (sigset(SIGUSR1, SIG_IGN) != myhandler) { in main() 50 raise(SIGUSR1); in main()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl31.c | 150 sigaddset(&newset, SIGUSR1); in setup() 167 test_set_and_get_sig(SIGUSR1, "F_GETOWN, F_SETOWN for process ID"); in setown_pid_test() 183 test_set_and_get_sig(SIGUSR1, in setown_pgrp_test() 220 test_set_and_get_sig(SIGUSR1, "F_GETOWN_EX, F_SETOWN_EX for thread ID"); in setownex_tid_test() 242 test_set_and_get_sig(SIGUSR1, in setownex_pid_test() 265 test_set_and_get_sig(SIGUSR1, in setownex_pgrp_test() 365 case SIGUSR1: in check_io_signal()
|