|
Protomatter Classes v1.1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.protomatter.util.Mutex
A mutex.
Constructor Summary | |
Mutex()
Create a new mutex. |
Method Summary | |
void |
getLock()
Obtain the lock on the mutex. |
java.lang.Thread |
getLockingThread()
Get a reference to the thread that currently has the lock. |
boolean |
isLocked()
Determine if this mutex is currently locked by anyone. |
void |
releaseLock()
Release the lock on the mutex. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Mutex()
Method Detail |
public void getLock()
public boolean isLocked()
public java.lang.Thread getLockingThread()
public void releaseLock()
|
Protomatter Classes v1.1.6 Copyright 1998-2001 Nate Sammons |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Protomatter Classes v1.1.6 | http://protomatter.sourceforge.net/1.1.6 |