[Xcb] [Patch] Fix busy-loop on BSD

Uli Schlachter psychon at znc.in
Thu Mar 8 01:12:13 PST 2012


On 07.03.2012 21:47, Julien Cristau wrote:
> On Thu, Mar  1, 2012 at 15:29:03 -0800, Josh Triplett wrote:
> 
>> This makes much more sense now.  I had assumed that on a non-blocking
>> socket, MSG_WAITALL would wait for the full amount of data, rather than
>> returning with none and producing a busywait.  Given that, removing both
>> instances of MSG_WAITALL seems correct.
>>
> So now that everybody seems to agree on the patch, can we get this
> applied and released?

Nope, Jeremy Huddleston decided otherwise. So here is a new version which fixes
that conflict and reverts his commit.

But I agree that this could be pushed.

Uli
-- 
"Do you know that books smell like nutmeg or some spice from a foreign land?"
                                                  -- Faber in Fahrenheit 451


More information about the Xcb mailing list