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

/darwin-on-arm/xnu/bsd/kern/
H A Dmach_process.c383 if (t->sigwait) {
384 wakeup((caddr_t)&(t->sigwait));
H A Dkern_sig.c1269 * When returning from sigwait, we want
1301 panic("sigwait with no signal wakeup");
2268 p->sigwait = TRUE;
2308 p->sigwait = TRUE;
2326 assert_wait((caddr_t)&p->sigwait, (THREAD_INTERRUPTIBLE));
2332 p->sigwait = FALSE;
2997 if (p->sigwait) {
2998 wakeup((caddr_t)&(p->sigwait));
3138 while (p->sigwait || p->exit_thread) {
H A Dbsd_init.c558 kernproc->sigwait = FALSE;
H A Dkern_sysctl.c1632 exp->sigwait = p->sigwait;
1682 exp->sigwait = p->sigwait;
/darwin-on-arm/xnu/bsd/sys/
H A Dproc_internal.h277 boolean_t sigwait; /* indication to suspend (PL) */ member in struct:proc
278 void *sigwait_thread; /* 'thread' holding sigwait(PL) */
508 boolean_t sigwait; /* indication to suspend */ member in struct:user32_extern_proc
560 boolean_t sigwait; /* indication to suspend */ member in struct:user64_extern_proc
H A Dproc.h113 boolean_t sigwait; /* indication to suspend */ member in struct:extern_proc
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dtests.c2465 * Test getitimer, setitimer, sigaction, sigpending, sigprocmask, sigsuspend, sigwait system calls.
2604 my_err = sigwait( &my_sigset, &my_signal );
2606 printf( "sigwait failed with errno %d - %s \n", errno, strerror( errno ) );
2611 printf( "sigwait failed to catch a pending SIGUSR1 signal. \n" );

Completed in 108 milliseconds