[PATCH] ash: clear NONBLOCK flag from stdin when in foreground

Cathey, Jim jcathey at ciena.com
Wed Aug 17 22:56:56 UTC 2011


>Doing asynchronous loops without O_NONBLOCK does not feel right.

Agreed.  Doing asynchronous loops with a true AIO structuring
feels _very_ right.  (Keep your program state in a control
block, not in the program counter.)  The problems just go away.

-- Jim






More information about the busybox mailing list