public class GLContextLock extends Object
| Constructor and Description |
|---|
GLContextLock() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFailFastMode() |
boolean |
hasWaiters() |
boolean |
isHeld()
Indicates whether this lock is held by the current thread.
|
void |
lock()
Locks this GLContextLock on the current thread.
|
void |
setFailFastMode(boolean onOrOff) |
void |
unlock()
Unlocks this GLContextLock.
|
public void lock()
throws GLException
GLExceptionpublic void unlock()
throws GLException
GLExceptionpublic boolean isHeld()
public void setFailFastMode(boolean onOrOff)
public boolean getFailFastMode()
public boolean hasWaiters()
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.