Package com.intellij.util.concurrency
Class Semaphore
java.lang.Object
com.intellij.util.concurrency.Semaphore
-
Constructor Details
-
Semaphore
public Semaphore()Creates Semaphore in an up state
-
-
Method Details
-
up
public void up() -
tryUp
public boolean tryUp() -
down
public void down() -
waitFor
public void waitFor() -
waitForUnsafe
- Throws:
InterruptedException
-
waitFor
public boolean waitFor(long msTimeout) -
waitForUnsafe
- Throws:
InterruptedException
-