non-blocking io, EINTR
Ed Schouten
ed at fxq.nl
Wed Feb 27 13:45:29 UTC 2008
* Mark Linn <mark.linn at gmail.com> wrote:
> I am setting the O_NONBLOCK flag on a socket file descriptor using fcntl,
>
> will a read() on the socket return EINTR when the process get a signal?
Probably not, because that would only happen if the kernel would call
the *sleep() routines, which it won't do, because the O_NONBLOCK flag
disables that.
--
Ed Schouten <ed at fxq.nl>
WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080227/54dac67f/attachment.pgp
More information about the freebsd-hackers
mailing list