[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Sat, Mar 15, 2008 at 09:36:37PM -0700, Jamey Sharp wrote:
> The attached patch to Xlib/XCB converts it to use the new handoff
> mechanism. Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from
> sending requests between calls to Xlib's LockDisplay and UnlockDisplay
> macros. Xlib/XCB then sent all of its requests using XCB's
> xcb_send_request, and had to flush its requests when unlocking the
> display.

Note that if you apply this patch to something other than current Git
master of libX11, you will also need the sync fix from Git commit
64325f38bab082a8e0e9ce779a8e582de5c8588e.  You can find the patch at
<http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=commitdiff_plain;h=64325f38bab082a8e0e9ce779a8e582de5c8588e>.

- Josh Triplett and Jamey Sharp

Attachment: signature.asc
Description: Digital signature


Reply to: