[PATCH] ash: clear NONBLOCK flag from stdin when in foreground
Cathey, Jim
jcathey at ciena.com
Thu Aug 18 17:55:05 UTC 2011
>>It doesn't; it can't. Hence my ranting. A 100% safe
>>100% orthogonal, useful easy-to-use AIO mechanism should
>>have been designed
>Would the hypothetical nonblock_read() and nonblock_write() system
>calls suggested at http://cr.yp.to/unix/nonblock.html be a good
>enough design, or do you think something more is needed?
No, that is just entrenching the polling methodology.
I am a proponent of true AIO design, with _no_ polling
facilities available at all. (Well, they can be there
but on the same list as gets and friends, so far as
desirability of use goes...)
See: http://en.wikipedia.org/wiki/Asynchronous_I/O
also http://en.wikipedia.org/wiki/DNIX
for details on the AIO system I used and liked best.
-- Jim
More information about the busybox
mailing list