konqueror embedded from busybox init

Stephen Warren swarren at wwwdotorg.org
Thu Mar 9 08:53:54 PST 2006


Yan Seiner wrote:
> A short usleep between the header write and the full write seems to
> solve the issue...  (that also explains why it would sometimes work and
> sometimes not...)

Ah.

Sounds like the definition of "short usleep" might vary depending on how
long it takes the receiver to drain the pipe etc. Shouldn't the writer
select/poll on the FD, and keep waking up and writing as much as it can
every time the pipe is writable. That way, there's no arbitrary length
sleeping involved.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://busybox.net/lists/busybox/attachments/20060309/c5588b92/signature.pgp


More information about the busybox mailing list