aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/CrGlCur.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-03-04 02:00:13 -0800
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:25 +0200
commit3d37513eb81325cef80eada39dbdb812c9c627d5 (patch)
treefb2dbb60e6f397347b7cb903ffd648e99baf850e /nx-X11/lib/X11/CrGlCur.c
parente8e91b69e83da81b3d8d71139a99c13d7a62ba00 (diff)
downloadnx-libs-3d37513eb81325cef80eada39dbdb812c9c627d5.tar.gz
nx-libs-3d37513eb81325cef80eada39dbdb812c9c627d5.tar.bz2
nx-libs-3d37513eb81325cef80eada39dbdb812c9c627d5.zip
Block for other threads in _XUserLockDisplay
Wait for all other threads to release the user-level lock when acquiring it. This ensures that only one thread at a time holds the user-level lock, necessary as it is a nesting lock and a single variable is used to determine when the lock is nesting and when it is contended. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/CrGlCur.c')
0 files changed, 0 insertions, 0 deletions