Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2011 01:10:06 +0400
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Jilles Tjoelker <jilles@stack.nl>
Cc:        Kostik Belousov <kostikbel@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: sigwait return 4
Message-ID:  <20110824211006.GB75535@zxy.spb.ru>
In-Reply-To: <20110824205609.GA96070@stack.nl>
References:  <20110824181907.GA48394@zxy.spb.ru> <20110824190703.GY17489@deviant.kiev.zoral.com.ua> <20110824205609.GA96070@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110824211006.GB75535>