Re: signals and read blocking - EINTR

2005-11-02 Thread Jim Easton
Hi 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). > > Al

Re: signals and read blocking - EINTR

2005-11-01 Thread Christopher Faylor
On Tue, Nov 01, 2005 at 02:40:00AM -0700, Jim Easton wrote: >Christopher Faylor wrote: >>On Mon, Oct 31, 2005 at 08:49:30PM -0700, Jim Easton wrote: >>>I'm wondering what am I missing? Is there a flag in sigaction or >>>something else that I could be setting? >> >>Yes. SA_RESTART is the flag. > >

Re: signals and read blocking - EINTR

2005-11-01 Thread Samuel Thibault
Hi, Jim Easton, le Tue 01 Nov 2005 02:40:00 -0700, a écrit : > Hi, > > Christopher Faylor wrote: > > On Mon, Oct 31, 2005 at 08:49:30PM -0700, Jim Easton wrote: > > >I'm wondering what am I missing? Is there a flag in sigaction > > >or something else that I could be setting? > > > > Yes. SA_RE

Re: signals and read blocking - EINTR

2005-11-01 Thread Jim Easton
Hi, Christopher Faylor wrote: > On Mon, Oct 31, 2005 at 08:49:30PM -0700, Jim Easton wrote: > >I'm wondering what am I missing? Is there a flag in sigaction > >or something else that I could be setting? > > Yes. SA_RESTART is the flag. and then Samuel Thibault wrote: > No: he wants to be _inte

Re: signals and read blocking - EINTR

2005-11-01 Thread Samuel Thibault
Christopher Faylor, le Tue 01 Nov 2005 01:02:40 -0500, a écrit : > On Mon, Oct 31, 2005 at 08:49:30PM -0700, Jim Easton wrote: > >I'm wondering what am I missing? Is there a flag in sigaction > >or something else that I could be setting? > > Yes. SA_RESTART is the flag. No: he wants to be _inte

Re: signals and read blocking - EINTR

2005-10-31 Thread Christopher Faylor
On Mon, Oct 31, 2005 at 08:49:30PM -0700, Jim Easton wrote: >I'm wondering what am I missing? Is there a flag in sigaction >or something else that I could be setting? Yes. SA_RESTART is the flag. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cy