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

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dproc.h121 boolean_t sigwait; /* indication to suspend */ member in struct:extern_proc
H A Dproc_internal.h246 boolean_t sigwait; /* indication to suspend (PL) */ member in struct:proc
247 void *sigwait_thread; /* 'thread' holding sigwait(PL) */
438 boolean_t sigwait; /* indication to suspend */ member in struct:user_extern_proc
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dmach_process.c349 if (t->sigwait) {
350 wakeup((caddr_t)&(t->sigwait));
H A Dkern_sig.c1086 * When returning from sigwait, we want
1118 panic("sigwait with no signal wakeup");
2056 p->sigwait = TRUE;
2096 p->sigwait = TRUE;
2114 assert_wait((caddr_t)&p->sigwait, (THREAD_INTERRUPTIBLE));
2120 p->sigwait = FALSE;
2724 if (p->sigwait) {
2725 wakeup((caddr_t)&(p->sigwait));
2904 while (p->sigwait || p->exit_thread) {
H A Dbsd_init.c467 p->sigwait = FALSE;
H A Dkern_sysctl.c1462 exp->sigwait = p->sigwait ;
1527 exp->sigwait = p->sigwait ;
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dtests.c2466 * 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 40 milliseconds