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
signature.asc
Description: OpenPGP digital signature