select failed: Interrupted system call

Václav Haisman V.Haisman@sh.cvut.cz
Fri Dec 29 17:38:00 GMT 2006



andy wang wrote, On 25.12.2006 23:12:
> Hi, All:
> 
> What's the reason can cause interrupted system call. the same program
> will not be interrupted  running at linux. I know a singal can, Is
> there anything else can? Is there possible that pthread_cond_signal
> will do the same thing too?
> 
> Regards,
> Andy
> 
Any delivered signal can interrupt interruptable system call, IIRC. You
should check for the condition and handle it. If it is some particular signal
that is interrupting the call then you could use SA_RESTART flag.

--
wilx



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 542 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061229/a6062876/attachment.sig>


More information about the Cygwin mailing list