com.jogamp.nativewindow.impl.jawt.x11
Class X11JAWTToolkitLock
java.lang.Object
com.jogamp.nativewindow.impl.jawt.x11.X11JAWTToolkitLock
- All Implemented Interfaces:
- ToolkitLock
public class X11JAWTToolkitLock
- extends Object
- implements ToolkitLock
Implementing a recursive ToolkitLock
utilizing JAWT's AWT lock via JAWTUtil.lockToolkit()
and X11Util.XLockDisplay(long)
.
This strategy should only be used if AWT is using the underlying native windowing toolkit
in a not intrinsic thread safe manner, e.g. under X11 where no XInitThreads() call
is issued before any other X11 usage. This is the current situation for e.g. Webstart or Applets.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X11JAWTToolkitLock
public X11JAWTToolkitLock(long displayHandle)
lock
public final void lock()
- Specified by:
lock
in interface ToolkitLock
unlock
public final void unlock()
- Specified by:
unlock
in interface ToolkitLock
Copyright 2010 JogAmp Community.