Package com.jalios.util
Class Semaphore
java.lang.Object
com.jalios.util.Semaphore
- Direct Known Subclasses:
BinarySemaphore
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
protected int value
-
-
Constructor Details
-
Semaphore
protected Semaphore() -
Semaphore
protected Semaphore(int initial)
-
-
Method Details
-
P
public void P() -
V
public void V() -
value
public int value() -
toString
-
interruptibleP
- Throws:
InterruptedException
-