anon.util
Class CondVar

java.lang.Object
  extended by anon.util.CondVar

public final class CondVar
extends java.lang.Object


Field Summary
private  BusyFlag SyncVar
           
 
Constructor Summary
CondVar()
           
CondVar(BusyFlag sv)
           
 
Method Summary
 void cvBroadcast()
           
 void cvBroadcast(BusyFlag sv)
           
 void cvSignal()
           
 void cvSignal(BusyFlag sv)
           
 void cvTimedWait(BusyFlag sv, int millis)
           
 void cvTimedWait(int millis)
           
 void cvWait()
           
 void cvWait(BusyFlag sv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SyncVar

private BusyFlag SyncVar
Constructor Detail

CondVar

public CondVar()

CondVar

public CondVar(BusyFlag sv)
Method Detail

cvWait

public void cvWait()
            throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

cvWait

public void cvWait(BusyFlag sv)
            throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

cvTimedWait

public void cvTimedWait(int millis)
                 throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

cvTimedWait

public void cvTimedWait(BusyFlag sv,
                        int millis)
                 throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

cvSignal

public void cvSignal()

cvSignal

public void cvSignal(BusyFlag sv)

cvBroadcast

public void cvBroadcast()

cvBroadcast

public void cvBroadcast(BusyFlag sv)