[Xcb] [PATCH 0/3] RFC: Fixes to Xlib problems.
Rami Ylimäki
rami.ylimaki at vincit.fi
Thu Oct 7 08:43:20 PDT 2010
Hi,
Jamey, we are certainly interested in making the next generation core
XCB available sooner than later. However, in the meanwhile we'd also
like to get some of the Xlib problems fixed with current core XCB
library. But I'll go through your queue proposal later when I have
more time for that.
Here's my proposal for fixing the excessive non-blocking reads and
also the synchronization between event waiters and reply waiters.
The fixes have been written mainly from Xlib point of view so it'd be
great if you could review that the fixes make sense for pure Xcb
clients too. If you happen to notice possible errors in the code,
please point them out even if you don't plan to accept these patches
upstream.
Francesco, I'm also interested if these patches fix your
XNextEvent/XSync problem. I was able to construct a test case that
executes those calls from different threads and reliably fails with
current Xlib/Xcb but passes after the patches have been
applied. Therefore the patches could help you also. Keep in mind
though that I can't guarantee the correctness of the patches since I'm
still quite new to Xlib/Xcb internals.
Thanks for any comments,
Rami
More information about the Xcb
mailing list