From owner-freebsd-stable@FreeBSD.ORG Wed Aug 24 21:09:56 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C14C7106564A for ; Wed, 24 Aug 2011 21:09:56 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) by mx1.freebsd.org (Postfix) with ESMTP id 2B3508FC12 for ; Wed, 24 Aug 2011 21:09:56 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1QwKi6-000K3Y-TK; Thu, 25 Aug 2011 01:10:06 +0400 Date: Thu, 25 Aug 2011 01:10:06 +0400 From: Slawa Olhovchenkov To: Jilles Tjoelker Message-ID: <20110824211006.GB75535@zxy.spb.ru> References: <20110824181907.GA48394@zxy.spb.ru> <20110824190703.GY17489@deviant.kiev.zoral.com.ua> <20110824205609.GA96070@stack.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110824205609.GA96070@stack.nl> User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: Kostik Belousov , freebsd-stable@freebsd.org Subject: Re: sigwait return 4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2011 21:09:56 -0000 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"