This is the mail archive of the
mailing list for the Cygwin project.
Re: signals and read blocking - EINTR
- From: Jim Easton <jim at cs dot ualberta dot ca>
- To: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Cc: Jim Easton <jim at cs dot ualberta dot ca>, cygwin at cygwin dot com
- Date: Wed, 2 Nov 2005 01:10:13 -0700 (MST)
- Subject: Re: signals and read blocking - EINTR
Samuel Thibald wrote:
> Mmm, I had a look at posix, at it says "The state of these flags is
> not specified for signal()." So that you indeed need to explicitely
> unset the flag, else the behavior is implementation-dependant (BSD sets
> SA_RESTART and clears SA_RESETHAND for instance).
> Alternatively, siginterrupt() might be useful, but sigaction is
Yes, I will keep that in mind.
There are a couple of other flags that are set on the other
architectures which I haven't investigated yet (read; I don't know
what they do), but it's working now on Cygwin, Solaris, SGI, AIX and
Linux. (The sun4s need a little tweeking)
Thank you and Chris Faylor for your help - much appreciated.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html