public final class LightMonitor extends Object
Modifier and Type | Field and Description |
---|---|
(package private) ThreadQueue |
entering |
(package private) RVMThread |
holder |
(package private) SpinLock |
mutex |
(package private) int |
recCount |
(package private) ThreadQueue |
waiting |
Constructor and Description |
---|
LightMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
broadcast() |
void |
lockedBroadcastWithHandshake() |
void |
lockWithHandshake() |
void |
timedWaitAbsoluteInterruptibly(long whenAwakeNanos) |
void |
timedWaitRelativeInterruptibly(long delayNanos) |
void |
unlock() |
private void |
waitImpl(long whenAwake) |
void |
waitInterruptibly() |
ThreadQueue waiting
ThreadQueue entering
int recCount
public LightMonitor()
public void lockWithHandshake()
public void unlock()
private void waitImpl(long whenAwake)
public void waitInterruptibly()
public void timedWaitAbsoluteInterruptibly(long whenAwakeNanos)
public void timedWaitRelativeInterruptibly(long delayNanos)
public void broadcast()
public void lockedBroadcastWithHandshake()