>>>>> "Rich" == Rich Felker <[email protected]> writes:

Hi,

 Rich> Is there a reason you're not considering the alarm approach?
 Rich> alarm+drain will not hang at all if the buffer drains immediately.
 Rich> sleep+flush or usleep+flush will *always* sleep at least some
 Rich> interval, which is annoying to the user.

Indeed. It seems vastly superior, and only slightly more complicated.

-- 
Bye, Peter Korsgaard
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to