Bas Wijnen <[EMAIL PROTECTED]> writes:

> Even without network you should be careful.  If you have a
> multithreaded program, or a source which is read by multiple
> processes, or some other reason the state can have changed without
> the selecting thread doing anything, you may not be able to read any
> data after a successful select.  If you want to prevent blocking,
> you should use O_NONBLOCK, even if you use select.

That's a different category of care.  I was speaking about care in the
implementation of select; you're speaking about care in the use of select.

Thomas


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to