Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: Gabi Davar <Gabid@emblazesemi.com>
To: cygwin@cygwin.com
Message-ID: <403A23B1.2060803@emblazesemi.com>
Date: Mon, 23 Feb 2004 18:00:49 +0200
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
MIME-Version: 1.0
Subject: Re: PROBLEM - Signals not handled while waiting on semphores
References: <4039EF3F.9070202@emblazesemi.com> <20040223124501.GX1587@cygbert.vinschen.de> <403A12B6.8030008@emblazesemi.com> <20040223151304.GB7932@redhat.com>
In-Reply-To: <20040223151304.GB7932@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

After looking up the  
<http://www.opengroup.org/online-pubs?DOC=007904975&FORM=HTML>The Single 
UNIX Specification Version 3 I disagree. 
<http://www.opengroup.org/online-pubs?DOC=007904975&FORM=HTML>

See entry for sigaction() SA_RESTART .  Only select/pselect() specify 
behavior with SA_RESTART to be implementation defined.

-gabi

Christopher Faylor wrote:

>On Mon, Feb 23, 2004 at 04:48:22PM +0200, Gabi Davar wrote:
>  
>
>>Thanks for the quick reply, classic SysV semaphores do behave correctly 
>>with new dll.
>>
>>unfortunately there are still problems -
>>* flag SA_RESTART passed to sigaction seem to be ignored ( see previous 
>>post for sample code )
>>    
>>
>
>I believe that POSIX allows this.
>
>Currently SA_RESTART is only handled for read and readv.
>
>cgf
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>  
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

