[Xcb] use of xcb in a thread safe program

Vincent Torri vtorri at univ-evry.fr
Mon May 21 09:50:59 PDT 2007



On Mon, 21 May 2007, Barton C Massey wrote:

> In message <Pine.LNX.4.64.0705200801310.25391 at grozny.maths.univ-evry.fr> you wrote:
>> I do not know anything about threads (well, a bit :) ), so I would like to
>> know a bit more how I can use xcb with Gstreamer (or a any thread safe
>> lib). That is, even if xcb is thread safe, should I use mutex to lock (at
>> one step of the prog) or not ? Or can I use xcb like if threads didn't
>> exists (that is, as in a beautiful world :) ) ?
>
> The latter.  It's one of the explicit XCB design goals.  You
> may find bugs, since this hasn't been extensively tested,
> but if you do we'll fix 'em.

What a beautiful world !

I think that i'll be able to manage that port, then :)

thank you

Vincent


More information about the Xcb mailing list