nanogui: about signal interrupt blocking system function
Subject:
Re: [nanogui] about signal interrupt blocking system function
From:
"Greg Haerr" ####@####.####
Date:
14 Feb 2008 17:51:17 -0000
Message-Id: <017401c86f32$2a7ecc60$6501a8c0@winXP>
: In different threads, can get rid of EINTR signal to interrupt the slow
: system call?
No, if that thread's system call gets interrupted the call will still
return EINTR.
What is your issue with interrupted system calls with nano-X?
In GsSelect, it doesn't matter, since an interrupted call would
just sweep the returned file descriptors for any activity.
(nanox/srvmain.c)
The client/server pipe read/write calls are protected and will retry.
(nanox/client.c)
Regards,
Greg