Lines Matching refs:sigwait
64 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 doesn't wake up for SIGHUP.\n");
242 * cause sigwait to return the pending signal. We do this
244 * release him from the sigwait. The waiter will block
247 * The next time the waiter does a sigwait, he should
252 /* Release the waiter from sigwait. */
256 fprintf (stderr, "FAIL: sigwait doesn't wake up for SIGHUP.\n");
269 "FAIL: sigwait doesn't return for pending SIGHUP.\n");
276 /* Release the waiter from sigwait. */
281 "FAIL: sigwait doesn't wake up for SIGUSR1.\n");
289 "FAIL: sigwait doesn't return for pending SIGUSR1.\n");
293 * not being waited on by sigwait.