XUnlockDisplay
Syntax
void XUnlockDisplay(display)
Display *display;
Arguments
display
| Specifies the connection to the X server.
|
Description
The
XUnlockDisplay()
function allows other threads to use the specified display again.
Any threads that have blocked on the display are allowed to continue.
Nested locking works correctly; if
XLockDisplay()
has been called multiple times by a thread, then
XUnlockDisplay
must be called an equal number of times before the display is
actually unlocked.
This function has no effect unless Xlib was successfully initialized
for threads using
XInitThreads().
See also
XInitThreads(),
XLockDisplay()
"
Using Xlib With Threads"
Christophe Tronche, [email protected]