sigwait return 4

Slawa Olhovchenkov slw at
Wed Aug 24 21:09:56 UTC 2011

On Wed, Aug 24, 2011 at 10:56:09PM +0200, Jilles Tjoelker wrote:

> sigwait() was fixed not to return EINTR in 9-current in r212405 (fixed
> up in r219709). The discussion started at

As I see this revisions not MFCed.
No plans to fix this in 8-STABLE?

> Solaris is simply wrong in the same way we were wrong. Although POSIX
> may not be as clear on this as one may like, its intention is clear and
> additionally not returning EINTR reduces subtle portability problems.
> Note that sigwaitinfo() and sigtimedwait() may return EINTR. SA_RESTART
> applies to sigwaitinfo() but not to sigtimedwait() (because the timeout
> cannot be restarted).
> -- 
> Jilles Tjoelker
> _______________________________________________
> freebsd-stable at mailing list
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at"

More information about the freebsd-stable mailing list