Home
last modified time | relevance | path

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

123

/external/valgrind/main/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()
Dpth_blockedsig.stdout.exp1 thread CHILD sending SIGUSR1 to thread MAIN
Dpending.stdout.exp4 4: got signal SIGUSR1
/external/qemu/
Dcpus.c390 qemu_thread_signal(env->thread, SIGUSR1); in qemu_cpu_kick()
416 sigaddset(&set, SIGUSR1); in block_io_signals()
421 sigaction(SIGUSR1, &sigact, NULL); in block_io_signals()
435 sigaddset(&set, SIGUSR1); in unblock_io_signals()
444 qemu_thread_signal(tcg_cpu_thread, SIGUSR1); in qemu_signal_lock()
485 qemu_thread_signal(penv->thread, SIGUSR1); in pause_all_vcpus()
494 qemu_thread_signal(penv->thread, SIGUSR1); in pause_all_vcpus()
507 qemu_thread_signal(penv->thread, SIGUSR1); in resume_all_vcpus()
/external/valgrind/main/memcheck/tests/
Dsigaltstack.c34 res = sigaction(SIGUSR1,&act,0); in main()
37 raise(SIGUSR1); in main()
/external/valgrind/main/none/tests/x86-linux/
Dsigcontext.c53 sigaction(SIGUSR1, &sa, NULL); in main()
68 : "0" (__NR_kill), "b" (getpid()), "c" (SIGUSR1)); in main()
/external/chromium/third_party/libevent/test/
Dregress.c659 signal_set(&ev, SIGUSR1, signal_cb, &ev); in test_immediatesignal()
661 raise(SIGUSR1); in test_immediatesignal()
674 signal_set(&ev, SIGUSR1, signal_cb, &ev); in test_signal_dealloc()
722 signal_set(&ev1, SIGUSR1, signal_cb, &ev1); in test_signal_switchbase()
723 signal_set(&ev2, SIGUSR1, signal_cb, &ev2); in test_signal_switchbase()
734 raise(SIGUSR1); in test_signal_switchbase()
747 raise(SIGUSR1); in test_signal_switchbase()
807 if (sigaction(SIGUSR1, &sa, NULL) == -1) in test_signal_restore()
810 if (signal(SIGUSR1, signal_cb_sa) == SIG_ERR) in test_signal_restore()
813 signal_set(&ev, SIGUSR1, signal_cb, &ev); in test_signal_restore()
[all …]
/external/openssl/crypto/des/
Dread_pwd.c428 #ifdef SIGUSR1 in pushsig()
429 if (i == SIGUSR1) in pushsig()
454 #ifdef SIGUSR1 in popsig()
455 if (i == SIGUSR1) in popsig()
/external/chromium/third_party/libjingle/source/talk/examples/call/
Dconsole.cc78 pthread_kill(console_thread_->GetPThread(), SIGUSR1); in Stop()
155 if (sigaction(SIGUSR1, &act, NULL) < 0) { in OnMessage()
/external/oprofile/daemon/
Dopd_perfmon.c171 sigaddset(&mask, SIGUSR1); in setup_signals()
179 if (sigaction(SIGUSR1, &act, NULL)) { in setup_signals()
359 sigdelset(&sigmask, SIGUSR1); in run_child()
495 if (kill(children[i].pid, SIGUSR1)) { in perfmon_start()
/external/dropbear/
Dcommon-chansession.c40 {SIGUSR1, "USR1"},
/external/openssl/crypto/ui/
Dui_openssl.c606 #ifdef SIGUSR1 in pushsig()
607 if (i == SIGUSR1) in pushsig()
644 #ifdef SIGUSR1 in popsig()
645 if (i == SIGUSR1) in popsig()
/external/mdnsresponder/mDNSPosix/
DPosixDaemon.c145 mDNSPosixListenForSignalInEventLoop(SIGUSR1); in MainLoop()
172 if (sigismember(&signals, SIGUSR1)) DumpStateLog(m); in MainLoop()
DResponder.c82 assert(sigraised == SIGUSR1); in HandleSigUsr1()
707 signal(SIGUSR1, HandleSigUsr1); // SIGUSR1 has to be sent by kill -USR1 <pid> in main()
/external/dhcpcd/
Dsignals.c48 SIGUSR1,
/external/linux-tools-perf/
Dbuiltin-record.c154 if (signr == -1 || signr == SIGUSR1) in sig_atexit()
458 signal(SIGUSR1, sig_handler); in __cmd_record()
566 kill(getppid(), SIGUSR1); in __cmd_record()
719 if (quiet || signr == SIGUSR1) in __cmd_record()
/external/kernel-headers/original/asm-mips/
Dsignal.h41 #define SIGUSR1 16 /* User-defined signal 1 (POSIX). */ macro
/external/kernel-headers/original/asm-arm/
Dsignal.h41 #define SIGUSR1 10 macro
/external/kernel-headers/original/asm-x86/
Dsignal.h53 #define SIGUSR1 10 macro

123