problem with multithreaded application and Xlib
Jonathan Morton
jonathan.morton at movial.com
Thu Sep 30 08:55:43 PDT 2010
On Thu, 2010-09-30 at 17:44 +0200, Francesco Abbate wrote:
> ...Xlib. What I would like to understand is if the
> technique that I'm using with the two threads is actually correct or
> not.
Xlib is not designed to be thread-safe. You should make Xlib calls from
only one thread, or ensure that use of it is transferred coherently and
wholesale from one thread to another.
--
------
From: Jonathan Morton
jonathan.morton at movial.com
More information about the xorg-devel
mailing list