sigwait return 4

Slawa Olhovchenkov slw at zxy.spb.ru
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
> http://lists.freebsd.org/pipermail/freebsd-threads/2010-September/004892.html

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 freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"


More information about the freebsd-stable mailing list