libX11: Changes to 'master'

Jamey Sharp jamey at kemper.freedesktop.org
Sat Jun 2 12:54:40 PDT 2007


 src/xcb_lock.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5
Author: Jamey Sharp <jamey at minilop.net>
Date:   Sat Jun 2 12:30:30 2007 -0700

    Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held.
    
    An Xlib client can query Display state, such as with NextRequest, while
    it holds only the Xlib user lock (between XLockDisplay and
    XUnlockDisplay), so XCB requests in other threads should be blocked when
    the Xlib user lock is held.
    
    We acquire the lock even when XInitThreads was not called, so that pure
    XCB code can use multiple threads even in an otherwise single-threaded
    Xlib application.
    
    Commit by Josh Triplett and Jamey Sharp.



More information about the xorg-commit mailing list