On Thu, 2012-09-13 at 10:13 +0200, Zdeněk Pavlas wrote:
> Blocks until there's some output from any worker.  No polling.
> Exit when all files have been closed.

 ACK. Assuming it's safe to mix readline() with select/poll. I think it
probably is ... but blocking IO sucks (hence this bug/patch), so I'm not
100%.

 For anyone lurking and confused, the problem is that each worker is
doing output to stdout+stderr and can fill the buffer of one and then
block doing a write() to it ... while we are waiting for a read on the
other (which will now never happen).

 Might be nice to add a comment, so that someone doesn't just think we
are being stupidly complicated at some later date and "fix" it.

_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to