X display locking

Alan Coopersmith alan.coopersmith at oracle.com
Thu Mar 7 08:44:24 PST 2013


On 03/ 7/13 06:31 AM, Torsten Jager wrote:
> What is the proper usage of XLockDisplay () / XUnlockDisplay ()
> when an application has multiple threads using

Applications should never call those functions - they are Xlib's
internal locking mechanism for the request buffers.

Applications should only call XInitThreads() to set up the locks
before any Xlib calls are made.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg mailing list