Searched refs:SIGUSR1 (Results 1 - 25 of 98) sorted by relevance

1234

/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/
H A Dtst.sigwait.d32 /args[1]->p_pid == $1 && args[2] == SIGUSR1/
38 /pid == $1 && args[0] == SIGUSR1 && sent/
H A Dtst.signal.ksh40 args[1]->pr_psargs == "$longsleep" && args[2] == SIGUSR1/
49 /target == pid && args[0] == SIGUSR1/
H A Dtst.sigwait.c49 ev.sigev_signo = SIGUSR1;
58 (void) sigaddset(&set, SIGUSR1);
74 } while(sig != SIGUSR1);
/freebsd-9.3-release/tools/regression/kqueue/
H A Dsignal.c31 EV_SET(&kev, SIGUSR1, EVFILT_SIGNAL, EV_ADD, 0, 0, NULL);
46 EV_SET(&kev, SIGUSR1, EVFILT_SIGNAL, EV_ADD, 0, 0, NULL);
50 /* Block SIGUSR1, then send it to ourselves */
53 sigaddset(&mask, SIGUSR1);
56 if (kill(getpid(), SIGUSR1) < 0)
74 EV_SET(&kev, SIGUSR1, EVFILT_SIGNAL, EV_DISABLE, 0, 0, NULL);
78 /* Block SIGUSR1, then send it to ourselves */
81 sigaddset(&mask, SIGUSR1);
84 if (kill(getpid(), SIGUSR1) < 0)
100 EV_SET(&kev, SIGUSR1, EVFILT_SIGNA
[all...]
H A Dproc.c100 if (kill(pid, SIGUSR1) < 0)
116 EV_SET(&kev, SIGUSR1, EVFILT_SIGNAL, EV_DISABLE, 0, 0, NULL);
120 /* Block SIGUSR1, then send it to ourselves */
123 sigaddset(&mask, SIGUSR1);
142 EV_SET(&kev, SIGUSR1, EVFILT_SIGNAL, EV_ENABLE, 0, 0, NULL);
146 /* Block SIGUSR1, then send it to ourselves */
149 sigaddset(&mask, SIGUSR1);
152 if (kill(getpid(), SIGUSR1) < 0)
180 EV_SET(&kev, SIGUSR1, EVFILT_SIGNAL, EV_DELETE, 0, 0, NULL);
184 /* Block SIGUSR1, the
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/
H A Dtst.ret1.c61 (void) signal(SIGUSR1, handle);
H A Dtst.ret2.c55 (void) signal(SIGUSR1, handle);
H A Dtst.args1.c49 (void) signal(SIGUSR1, handle);
H A Dtst.weak1.c55 (void) signal(SIGUSR1, handle);
H A Dtst.weak2.c55 (void) signal(SIGUSR1, handle);
H A Dtst.ret1.d49 raise(SIGUSR1);
H A Dtst.ret2.d49 raise(SIGUSR1);
H A Dtst.gcc.c57 (void) sigaction(SIGUSR1, &sa, NULL);
H A Dtst.args1.d49 raise(SIGUSR1);
H A Dtst.weak1.d49 raise(SIGUSR1);
H A Dtst.weak2.d49 raise(SIGUSR1);
/freebsd-9.3-release/contrib/texinfo/info/
H A Dsignals.c84 # if defined (SIGUSR1)
85 sigaddset (set, SIGUSR1);
149 #if defined (SIGUSR1)
151 set_termsig (SIGUSR1, &old_USR1);
249 #if defined (SIGWINCH) || defined (SIGUSR1)
253 #ifdef SIGUSR1
254 case SIGUSR1:
263 #ifdef SIGUSR1
264 if (sig == SIGUSR1)
280 #endif /* SIGWINCH || SIGUSR1 */
[all...]
/freebsd-9.3-release/lib/libkse/test/
H A Dsigwait_d.c131 sigaddset (&wait_mask, SIGUSR1); /* terminate */
211 send_thread_signal (tid, SIGUSR1);
213 send_process_signal (SIGUSR1);
215 if (sigcounts[SIGUSR1] != 2)
217 "FAIL: sigwait doesn't wake up for SIGUSR1.\n");
272 * Repeat the above test using pthread_kill and SIGUSR1.
274 sigcounts[SIGUSR1] = 0;
277 send_thread_signal (tid, SIGUSR1);
279 if (sigcounts[SIGUSR1] != 1)
281 "FAIL: sigwait doesn't wake up for SIGUSR1
[all...]
H A Dsigsuspend_d.c191 /* Mask out SIGUSR1 and SIGUSR2. */
193 sigaddset (&newset, SIGUSR1);
197 /* Install a signal handler for SIGUSR1 */
199 sigaddset (&act.sa_mask, SIGUSR1);
200 sigaction (SIGUSR1, &act, NULL);
270 send_thread_signal (suspender_tid, SIGUSR1);
272 send_process_signal (SIGUSR1);
274 if (sigcounts[SIGUSR1] != 0)
275 fprintf (stderr, "FAIL: signal hander called for SIGUSR1.\n");
/freebsd-9.3-release/tools/regression/poll/
H A Dpipepoll.c109 kill(ppid, SIGUSR1);
126 kill(ppid, SIGUSR1);
139 kill(ppid, SIGUSR1);
147 kill(ppid, SIGUSR1);
162 kill(ppid, SIGUSR1);
170 kill(ppid, SIGUSR1);
215 kill(ppid, SIGUSR1);
231 kill(cpid, SIGUSR1);
238 kill(cpid, SIGUSR1);
245 kill(cpid, SIGUSR1);
[all...]
H A Dpipeselect.c93 kill(ppid, SIGUSR1);
111 kill(ppid, SIGUSR1);
126 kill(ppid, SIGUSR1);
135 kill(ppid, SIGUSR1);
151 kill(ppid, SIGUSR1);
160 kill(ppid, SIGUSR1);
212 kill(ppid, SIGUSR1);
228 kill(cpid, SIGUSR1);
235 kill(cpid, SIGUSR1);
242 kill(cpid, SIGUSR1);
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.d35 raise(SIGUSR1); /* kick tst.fds.c out of its busy-wait loop */
/freebsd-9.3-release/crypto/heimdal/kcm/
H A Dmain.c86 sigaction(SIGUSR1, &sa, NULL);
97 signal(SIGUSR1, sigusr1);
/freebsd-9.3-release/libexec/bootpd/
H A Dbootpd.h45 #ifndef SIGUSR1
46 #define SIGUSR1 30 /* From 4.3 <signal.h> */ macro
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dsignal.c219 case SIGUSR1:
279 mask |= sigmask(SIGUSR1);
294 (void) sigset(SIGUSR1, SIG_HOLD);
303 (void) sigset(SIGUSR1, SIG_DFL);
314 (void) sigaddset(&sset, SIGUSR1);

Completed in 95 milliseconds

1234