com.jogamp.nativewindow.ToolkitLock .
This is the last resort for unstable driver where multiple X11 display connections to the same connection name are not treated thread safe within the GL/X11 driver.
| Modifier and Type | Field and Description |
|---|---|
| private static final RecursiveLock | |
| private static GlobalToolkitLock |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public static final GlobalToolkitLock | |
| public final void | lock()
Implements com. |
| public String | |
| private String | |
| public final void | |
| public final void |
| globalLock | back to summary |
|---|---|
| private static final RecursiveLock globalLock | |
| singleton | back to summary |
|---|---|
| private static GlobalToolkitLock singleton | |
| GlobalToolkitLock | back to summary |
|---|---|
| private GlobalToolkitLock() | |
| dispose | back to summary |
|---|---|
| public final void dispose() Implements com. Doc from com. Dispose this instance. Shall be called when instance is no more required. This allows implementations sharing a lock via resources to decrease the reference counter.
| |
| getSingleton | back to summary |
|---|---|
| public static final GlobalToolkitLock getSingleton() | |
| lock | back to summary |
|---|---|
| public final void lock() Implements com. Doc from com. Blocking until the lock is acquired by this Thread or a timeout is reached. Timeout is implementation specific, if used at all.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| toStringImpl | back to summary |
|---|---|
| private String toStringImpl() | |
| unlock | back to summary |
|---|---|
| public final void unlock() Implements com. Doc from com. Release the lock.
| |
| validateLocked | back to summary |
|---|---|
| public final void validateLocked() throws RuntimeException Implements com.
| |