[PATCH] getty: Wait until all output written to stdout has been transmitted
Mikhail Gusarov
dottedmag at dottedmag.net
Sat Jan 22 12:40:45 UTC 2011
Twas brillig at 02:57:47 22.01.2011 UTC+01 when vda.linux at googlemail.com
did gyre and gimble:
DV> But it may lead to a hang if serial line gets mangled: in some
DV> situations tcdrain may wait forever.
DV> I propose adding sleep(1) before the flush. Can you verify that it
DV> works?
alarm+tcdrain maybe? This way it won't wait a second if there is nothing
to drain.
--
http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110122/8b35c3a8/attachment.asc>
More information about the busybox
mailing list