
public class FastReadWriteLock extends Object
| Constructor and Description |
|---|
FastReadWriteLock() |
| Modifier and Type | Method and Description |
|---|---|
void |
read()
Acquire a read lock.
|
void |
release()
Signals that the operation is done.
|
void |
write()
Acquire a write lock.
|
private final Semaphore lock