This is the mail archive of the cygwin 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: select failed: Interrupted system call



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



Attachment: signature.asc
Description: OpenPGP digital signature


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