[PATCH] getty: Wait until all output written to stdout has been transmitted
Denys Vlasenko
vda.linux at googlemail.com
Sun Jan 23 20:44:53 UTC 2011
On Sunday 23 January 2011 20:44, Peter Korsgaard wrote:
> >>>>> "Rich" == Rich Felker <dalias at aerifal.cx> 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.
What happened to "we are busybox, we like simple solutions"?
Rob periodically grills me that I am making it too complicated...
--
vda
More information about the busybox
mailing list