[PATCH] Cannot wait for user lock in sync_while_locked

Keith Packard keithp at keithp.com
Tue Mar 13 23:37:20 PDT 2012


<#part sign=pgpmime>
On Sat, 10 Mar 2012 21:05:21 -0800, Jamey Sharp <jamey at minilop.net> wrote:

> Looks great; just insert "let the thread [that] got in first" and
> push. :-)

With a bit of additional testing (I rebooted my laptop...), I discovered
that this second patch breaks gdm3 very badly, so I have not pushed
it. It's entirely unnecessary to fix the core bug; it just seemed 'nice'
to match the old Xlib semantics. I haven't investigated why gdm3 doesn't
like this patch; it will be a bit tricky to debug that though...

I've pushed the first (bug fix) patch; that one seems to work fine, and
does at least fix a demonstrable problem in the library.

-- 
keith.packard at intel.com


More information about the xorg-devel mailing list