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

Uli Schlachter psychon at znc.in
Thu Mar 8 01:21:15 PST 2012


On 08.03.2012 10:12, Uli Schlachter wrote:
> 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.

Sorry everyone, I sent the old patch again (which I shouldn't have laying
around). Here is my second attempt at sending the right one.

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