This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: System calls getting interrupted with signals, even with SA_RESTART


On Sat, Dec 13, 2003 at 02:55:52PM -0500, Robby Dermody wrote:
>Hey guys,
>
>I've ran into a little problem. I have been porting an piece of software to
>Cygwin. It builds and initially runs fine, but when I get a SIGALRM signal,
>which I use for asynchronous timers, a few things return with an EINTR:
>
>-select()

 From the SUSv3 documentation on select():

	If SA_RESTART has been set for the interrupting signal, it is
	implementation-defined whether the function restarts or returns with
	[EINTR].

select() does not currently honor SA_RESTART on cygwin.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]