>I ask you how to perform nonblocking reads safely.

You can't, not 100%.

>Because from where I sit, current Unix API doesn't provide
>for 100% safe (wrt races) way to do it.

It doesn't; it can't.  Hence my ranting.  A 100% safe
100% orthogonal, useful easy-to-use AIO mechanism should
have been designed, and poll/select should have stayed
a bad dream in CS101.  It _has_ been done, I've seen it.
Pity nobody else really got it right.  (I've seen some
close attempts, but none of these OS's had the balls to
actually eliminate the bad mechanisms.  Maybe Plan 9 did,
I don't know too much about it other than its charter.)

-- Jim




_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to