[Xcb] [Bug 80044] Deprecate header inclusion of pthread.h and add a define option to disable inclusion of pthread.h

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 15 09:38:18 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80044

--- Comment #1 from Alan Coopersmith <alan.coopersmith at oracle.com> ---
We can't just remove it, as xcb uses the pthread synchronization functions
heavily internally, though it could possibly be moved from xcb.h to xcbint.h.

We do provide stubs for use in single-threaded programs that don't need
thread safety:
http://cgit.freedesktop.org/xcb/pthread-stubs/

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20140615/e5c5c58b/attachment.html>


More information about the Xcb mailing list