Deleted Added
full compact
32c32
< * $FreeBSD: head/lib/libkse/thread/thr_sigwait.c 62181 2000-06-27 21:30:16Z jasone $
---
> * $FreeBSD: head/lib/libkse/thread/thr_sigwait.c 67097 2000-10-13 22:12:32Z deischen $
43c43
< sigwait(const sigset_t * set, int *sig)
---
> sigwait(const sigset_t *set, int *sig)
55,56c55,57
< act.sa_flags = SA_RESTART;
< act.sa_mask = *set;
---
> act.sa_flags = SA_RESTART | SA_SIGINFO;
> /* Ensure the signal handler cannot be interrupted by other signals: */
> sigfillset(&act.sa_mask);
58,60d58
< /* Ensure the scheduling signal is masked: */
< sigaddset(&act.sa_mask, _SCHED_SIGNAL);
<