class Mutex
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
claimed
Flag to mark the mutex as claimed
|
| Constructor and Description |
|---|
Mutex() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
claim()
Claims the mutex for exclusive access
|
(package private) void |
release()
Releases the mutex for exclusive access
|