2.7. Using Xlib With Threads
On systems that have threads, support may be provided to permit
multiple threads to use Xlib concurrently.
To initialize support for concurrent threads, use
To lock a display across several Xlib calls, use
To unlock a display, use
Christophe Tronche, email@example.com