Searched refs:sigwait (Results 1 - 23 of 23) sorted by relevance

/freebsd-10.2-release/lib/libc/sys/
H A Dsigwait.c27 __FBSDID("$FreeBSD: releng/10.2/lib/libc/sys/sigwait.c 277317 2015-01-18 11:54:20Z kib $");
35 #pragma weak sigwait macro
37 sigwait(const sigset_t *set, int *sig) function
H A Dinterposing_table.c66 SLOT(sigwait, __libc_sigwait),
H A DMakefile.inc69 sigwait \
304 sigwait.2 \
/freebsd-10.2-release/contrib/sendmail/libmilter/
H A Dsignal.c108 if ((sig = sigwait(&set)) < 0)
110 if ((sigerr = sigwait(&set, &sig)) != 0)
121 "%s: sigwait returned error: %d",
143 "%s: sigwait returned unmasked signal: %d",
/freebsd-10.2-release/lib/libkse/thread/
H A Dthr_sigwait.c51 __weak_reference(__sigwait, sigwait);
85 * to sigwait on them. Note that SIG_IGN signals are left in
111 curthread->data.sigwait = &waitdata;
132 curthread->data.sigwait = NULL;
H A Dthr_info.c189 pthread->data.sigwait->waitset->__bits[i]);
H A Dthr_sig.c162 * 2) A thread in sigwait() where the signal is in the thread's
664 * unmasked. POSIX specifies that a thread in a sigwait
670 * installed, the signal only affects threads in sigwait.
690 SIGISMEMBER(*(pthread->data.sigwait->waitset), sig)) {
699 DBG_MSG("Waking thread %p in sigwait"
702 *(pthread->data.sigwait->siginfo) = si;
1041 if (SIGISMEMBER(*(pthread->data.sigwait->waitset), sig)) {
1043 *(pthread->data.sigwait->siginfo) = pthread->siginfo[sig-1];
H A Dthr_private.h569 struct sigwait_data *sigwait; member in union:pthread_wait_data
/freebsd-10.2-release/contrib/openbsm/bin/auditdistd/
H A Dsigtimedwait.h71 PJDLOG_VERIFY(sigwait(&mask, &signo) == 0);
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/
H A Dtst.sigwait.c73 (void) sigwait(&set, &sig);
/freebsd-10.2-release/include/
H A Dsignal.h84 int sigwait(const sigset_t * __restrict, int * __restrict);
/freebsd-10.2-release/contrib/apr/threadproc/unix/
H A Dsignals.c30 #define apr_sigwait(a,b) ((*(b)=sigwait((a)))<0?-1:0)
32 #define apr_sigwait(a,b) sigwait((a),(b))
329 /* On certain platforms, sigwait() returns EINVAL if any of various
346 /* no synchronous signals should be in the mask passed to sigwait() */
349 /* On AIX (4.3.3, at least), sigwait() won't wake up if the high-
385 /* handle sigwait() error here */
405 * the thread doing sigwait().
/freebsd-10.2-release/sys/kern/
H A Dcapabilities.conf670 sigwait
/freebsd-10.2-release/lib/libkse/test/
H A Dsigwait_d.c64 if (sigwait (&wait_mask, &signo) != 0) {
73 /* Allow the main thread to prevent the sigwait. */
194 "FAIL: sigwait wakes up for ignored signal SIGIO.\n");
198 * which we have a signal handler installed, will release a sigwait.
205 fprintf (stderr, "FAIL: sigwait doesn't wake up for SIGURG.\n");
209 * the process will release a sigwait.
217 "FAIL: sigwait doesn't wake up for SIGUSR1.\n");
222 * the (already waiting) sigwait.
232 /* Sending SIGHUP should release the sigwait. */
238 fprintf (stderr, "FAIL: sigwait does
[all...]
/freebsd-10.2-release/usr.sbin/daemon/
H A Ddaemon.c244 if (sigwait(mask, &signo) == -1) {
/freebsd-10.2-release/sys/sys/
H A Dsyscall.mk306 sigwait.o \
/freebsd-10.2-release/contrib/ntp/lib/isc/unix/
H A Dapp.c177 * Linux has sigwait(), but it appears to prevent signal handlers from
310 * will not cause sigwait() to return. We may have inherited
313 * sure sigwait() works as expected. Only do this for SIGTERM and
314 * SIGINT if we don't have sigwait(), since a different handler is
338 * sigwait() for them will get those signals.
632 * be made pending and we will get it when we call sigwait().
651 result = sigwait(&sset, &sig);
659 #else /* Using UnixWare sigwait semantics. */
660 sig = sigwait(&sset);
669 #else /* Don't have sigwait()
[all...]
/freebsd-10.2-release/lib/libthr/thread/
H A Dthr_syscalls.c653 SLOT(sigwait);
/freebsd-10.2-release/tools/test/dtrace/
H A DMakefile239 NOTWORK+= ${TESTSRCDIR}/tst/common/proc/tst.sigwait.c
240 NOTWORK+= ${TESTSRCDIR}/tst/common/proc/tst.sigwait.d
/freebsd-10.2-release/usr.bin/csup/
H A Dproto.c979 error = sigwait(&k->sigset, &sig);
/freebsd-10.2-release/contrib/ntp/sntp/
H A Dconfigure15124 # We'd like to use sigwait() too
15126 ac_fn_c_check_func "$LINENO" "sigwait" "ac_cv_func_sigwait"
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigwait in -lc" >&5
15131 $as_echo_n "checking for sigwait in -lc... " >&6; }
15146 char sigwait ();
15150 return sigwait ();
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigwait in -lpthread" >&5
15170 $as_echo_n "checking for sigwait in -lpthread... " >&6; }
15185 char sigwait ();
15189 return sigwait ();
[all...]
/freebsd-10.2-release/contrib/ntp/
H A Dconfigure27552 # We'd like to use sigwait() too
27554 ac_fn_c_check_func "$LINENO" "sigwait" "ac_cv_func_sigwait"
27558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigwait in -lc" >&5
27559 $as_echo_n "checking for sigwait in -lc... " >&6; }
27574 char sigwait ();
27578 return sigwait ();
27597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigwait in -lpthread" >&5
27598 $as_echo_n "checking for sigwait in -lpthread... " >&6; }
27613 char sigwait ();
27617 return sigwait ();
[all...]
/freebsd-10.2-release/contrib/apr/
H A Dconfigure20281 for ac_func in sigwait
20283 ac_fn_c_check_func "$LINENO" "sigwait" "ac_cv_func_sigwait"
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sigwait takes one argument" >&5
22321 $as_echo_n "checking whether sigwait takes one argument... " >&6; }
22331 * header to get a prototype for sigwait(). Else things will fail later
22333 * Darwin is declaring sigwait() in the wrong place as well.
22345 sigwait(&set);

Completed in 316 milliseconds