All Packages Class Hierarchy This Package Previous Next Index
Class replica.Semaphore
java.lang.Object
|
+----replica.Semaphore
- public class Semaphore
- extends Object
This class provides a binary semaphore.
- Version:
- 1.0
- Author:
- Markus Jäger
-
Semaphore()
- Used to create a binary semaphore.
-
P()
- P operation of a binary semaphore.
-
V()
- V operation of a binary semaphore.
Semaphore
public Semaphore()
- Used to create a binary semaphore.
P
public synchronized void P()
- P operation of a binary semaphore.
V
public synchronized void V()
- V operation of a binary semaphore.
All Packages Class Hierarchy This Package Previous Next Index