nanogui: about signal interrupt blocking system function
Subject:
Re: [nanogui] about signal interrupt blocking system function
From:
"yi xia" ####@####.####
Date:
15 Feb 2008 01:00:04 -0000
Message-Id: <f51a5c070802141659t1fa82507o6088130fbe0ecc55@mail.gmail.com>
Hi Greg,
Thanks again for you reply, I have reviewed your code, you are correct!
Max
2008/2/15, Greg Haerr ####@####.####
>
> : 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
>
>