Home
last modified time | relevance | path

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

1234

/external/valgrind/none/tests/
Dpending.c21 ( sig == SIGUSR1 ? "SIGUSR1" : "unexpected signal" )); in handler()
23 if (sig != SIGUSR1) { in handler()
43 sigaddset(&sigusr1, SIGUSR1); in main()
47 signal(SIGUSR1, handler); in main()
51 kill(getpid(), SIGUSR1); in main()
Dsigstackgrowth.c40 kill(getpid(), SIGUSR1); in handler()
54 sigaction(SIGUSR1, &sa, NULL); in main()
56 kill(getpid(), SIGUSR1); in main()
Dasync-sigs.c131 test(/*non-blocked*/0, /*async*/SIGUSR1, /* sync*/SIGBUS); in main()
132 test(/*non-blocked*/0, /*async*/SIGUSR1, /*async*/SIGHUP); in main()
135 test(/* blocked*/1, /*async*/SIGUSR1, /* sync*/SIGBUS); in main()
136 test(/* blocked*/1, /*async*/SIGUSR1, /*async*/SIGHUP); in main()
Dpth_blockedsig.c23 if (pthread_kill (main_thread, SIGUSR1) != 0) in child_main()
39 sigaddset (&newmask, SIGUSR1); in main()
46 if (sigaction(SIGUSR1, &sigact, NULL) != 0) in main()
Dsyscall-restart2.c41 sigaction(SIGUSR1, &sa, NULL); in main()
54 kill(pid, SIGUSR1); in main()
Dsyscall-restart1.c41 sigaction(SIGUSR1, &sa, NULL); in main()
54 kill(pid, SIGUSR1); in main()
Dthread-exits.c85 kill(grower, SIGUSR1); in maker()
104 sigaction(SIGUSR1, &sa, NULL); in main()
/external/valgrind/gdbserver_tests/
Dnlvgdbsigqueue.stdinB.gdb10 # send SIGUSR1/SIGUSR1 in a few seconds, after vgdb has attached
23 # so we must now wait to be (somewhat) sure the 2 SIGUSR1 are emitted
26 echo continuing to receive first SIGUSR1\n
30 echo continuing to receive second SIGUSR1\n
Dnlvgdbsigqueue.stdoutB.exp8 continuing to receive first SIGUSR1
12 continuing to receive second SIGUSR1
/external/compiler-rt/test/msan/
Dsigwait.cc12 sigaddset(&s, SIGUSR1); in test_sigwait()
16 kill(pid, SIGUSR1); in test_sigwait()
23 assert(sig == SIGUSR1); in test_sigwait()
Dsigwaitinfo.cc12 sigaddset(&s, SIGUSR1); in test_sigwaitinfo()
16 kill(pid, SIGUSR1); in test_sigwaitinfo()
23 assert(info.si_signo == SIGUSR1); in test_sigwaitinfo()
/external/libunwind/tests/
DGtest-resume-sig.c91 if (sig == SIGUSR1) in handler()
101 signal (SIGUSR1, SIG_IGN); in handler()
157 if (sigaction (SIGUSR1, &sa, NULL) != 0 || in main()
177 kill (getpid (), SIGUSR1); in main()
Dmapper.c48 signal (SIGUSR1, SIG_IGN); in main()
66 kill (getpid (), SIGUSR1); /* tell test-ptrace to start single-stepping */ in main()
DGtest-concurrent.c75 signal (SIGUSR1, handler); in worker()
79 pthread_kill (pthread_self (), SIGUSR1); in worker()
/external/lldb/test/functionalities/thread/concurrent_events/
Dmain.cpp79 pthread_kill(pthread_self(), SIGUSR1); in signal_func()
104 if (sig == SIGUSR1) in sigusr1_handler()
119 sigaction(SIGUSR1, &action, 0); in register_signal_handler()
151 …register_signal_handler(SIGUSR1, sigusr1_handler); // Break here and adjust num_[breakpoint|watchp… in dotest()
/external/strace/tests/
Dnet-accept-connect.c52 assert(kill(pid, SIGUSR1) == 0); in main()
60 sigaddset(&set, SIGUSR1); in main()
63 assert(signal(SIGUSR1, handler) != SIG_ERR); in main()
Dsigreturn.c29 signal(SIGUSR1, handler); in main()
30 raise(SIGUSR1); in main()
/external/compiler-rt/test/tsan/
Dsignal_cond.cc32 signal(SIGUSR1, &sig_handler); in main()
38 pthread_kill(thr, SIGUSR1); in main()
/external/valgrind/memcheck/tests/
Dsigaltstack.c34 res = sigaction(SIGUSR1,&act,0); in main()
37 raise(SIGUSR1); in main()
/external/valgrind/memcheck/tests/linux/
Dsyscalls-2007.c44 sigaddset (&mask, SIGUSR1); in main()
75 sigaddset (&mask, SIGUSR1); in main()
/external/valgrind/none/tests/s390x/
Dtest_sig.c54 signal(SIGUSR1, handle_SIG); in main()
58 kill(getpid(), SIGUSR1); in main()
/external/valgrind/none/tests/x86-linux/
Dsigcontext.c53 sigaction(SIGUSR1, &sa, NULL); in main()
68 : "0" (__NR_kill), "b" (getpid()), "c" (SIGUSR1)); in main()
/external/toybox/toys/other/
Doneit.c51 if (signal == SIGUSR1) action = RB_HALT_SYSTEM;
62 int i, pid, pipes[] = {SIGUSR1, SIGUSR2, SIGTERM, SIGINT}; in oneit_main()
/external/linux-tools-perf/src/tools/perf/tests/
Dtask-exit.c16 if (sig == SIGUSR1) in sig_handler()
38 signal(SIGUSR1, sig_handler); in test__task_exit()
/external/elfutils/src/tests/
Dbacktrace-child.c114 raise (SIGUSR1); in sigusr2()
164 raise (SIGUSR1); in stdarg()

1234