[Xcb-commit] Changes to 'handoff'
Jamey Sharp
jamey at kemper.freedesktop.org
Sat Oct 11 19:35:42 PDT 2008
New branch 'handoff' available with the following commits:
commit 958b1acbc99e99fc584c416bcbe77a94d8b049f4
Author: Josh Triplett <josh at freedesktop.org>
Date: Sat Mar 15 18:17:41 2008 -0700
Bump version number to 1.2
commit 3ee2dac8e00be4666bd74d5b5263ff52c2f9f199
Author: Josh Triplett <josh at freedesktop.org>
Date: Sun Mar 16 23:16:31 2008 -0700
Support handing off socket write permission to external code.
Libraries like Xlib, 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. Previously, XCB had an
Xlib-specific lock, and allowed Xlib to block XCB from making requests.
Now we've replaced that lock with a handoff mechanism, xcb_take_socket,
allowing external code to ask XCB for permission to take over the write
side of the socket and send raw data with xcb_writev. The caller of
xcb_take_socket must supply a callback which XCB can call when it wants
the write side of the socket back to make a request. This callback
synchronizes with the external socket owner, flushes any output queues if
appropriate, and then returns the sequence number of the last request sent
over the socket.
Commit by Josh Triplett and Jamey Sharp.
Handoff mechanism inspired by Keith Packard.
commit cdaaa63e7cc2729164da1326c54ad100eade0aac
Author: Jamey Sharp <jamey at minilop.net>
Date: Wed May 21 14:44:16 2008 -0700
Track 64-bit sequence numbers internally.
External APIs that used 32-bit sequence numbers continue to do so.
Commit by Josh Triplett and Jamey Sharp.
commit 040cf8ca8bda9687e77141c71e559acb020eeeb5
Author: Jamey Sharp <jamey at minilop.net>
Date: Fri Mar 14 20:18:52 2008 -0700
Use sequence number ranges in pending replies
This allows optimizing adjacent pending replies with the same flags, and
will help support default flags for a range of future requests.
Commit by Josh Triplett and Jamey Sharp.
commit 19cf1afecb67abfa9834fc1428f0b7cf8763f3a5
Author: Jamey Sharp <jamey at minilop.net>
Date: Fri Mar 14 12:08:58 2008 -0700
Inline _xcb_lock_io, _xcb_unlock_io, and _xcb_wait_io.
These functions are once again a single pthread call, so just make that
call directly.
commit c8282883b7d7360e554412357e4b20a00f6fe2eb
Author: Jamey Sharp <jamey at minilop.net>
Date: Fri Mar 14 12:08:32 2008 -0700
Remove libxcb-xlib and xcbxlib.h.
commit 5e9cdc3321f6f273ae1844e7bee2e6ba6072243f
Author: Jamey Sharp <jamey at minilop.net>
Date: Thu Sep 18 16:47:27 2008 -0700
Receive selected replies in event queue.
Commit by Josh Triplett and Jamey Sharp.
More information about the xcb-commit
mailing list