Home
last modified time | relevance | path

Searched refs:SIGUSR1 (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/third_party/ltp/testcases/kernel/syscalls/sigtimedwait/
Dsigtimedwait01.c13 { 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/
Dsigwaitinfo01.c13 { 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/
Drt_sigtimedwait01.c24 { 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/
Drun_cpuctl_test_fj.sh289 /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/
D1-1.c32 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/
Dpthread_sigmask.c32 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/
Dtest_threadsignals.py21 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/
Dvfork02.c127 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/
Dsetjmp.c31 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/
D28-17.c63 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()
D3-17.c40 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/
Dcpuset_memory_testset.sh55 /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/
Dtgkill03.c52 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/
Dsigpending02.c72 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/
D4-1.c50 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()
D1-1.c54 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/
Drt_tgsigqueueinfo01.c57 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/
D12-1.c68 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/
Dpidns20.c68 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/
Dmain.c28 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/
Dpage02.c83 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/
Dtest-signal-multiple-loops.c69 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/
D8-1.c56 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/
D2-1.c40 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/
Dfcntl31.c150 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()

12345678910>>...17