[Xcb] [RFC PATCH] New XCB socket handoff mechanism for Xlib/XCB and other libraries

Barton C Massey bart at cs.pdx.edu
Sat Mar 15 22:50:09 PDT 2008

In message <20080316043637.GA2718 at oh.minilop.net> you wrote:
> Libraries like Xlib/XCB, some XCB language bindings, and potentially
> others have a common problem: they want to share the X connection with
> XCB. This requires coordination of request sequence numbers. XCB
> currently has an Xlib-specific lock, and allows Xlib to block XCB from
> making requests. The attached patches to XCB replace that lock with a
> handoff mechanism.
> The attached patch to Xlib/XCB converts it to use the new handoff
> mechanism.

Wow.  You two have been busy since Wednesday!  And with
awesome results.  I'm both surprised and pleased at how
thoroughly these changes seem to have cleaned things up.
Thanks much!


P.S. Somebody please help me finish the XCB port of
x11perf?  I've got a working image library in util now, so
it can't be that hard...  I'll get to it when I can, but if
somebody would beat me to it that would be awesome.

I really want to compare XCB performance to Xlib/XCB
performance to find out what it's costing for what.

More information about the Xcb mailing list