Constructor and Description |
---|
LockNone() |
Modifier and Type | Method and Description |
---|---|
void |
enterCriticalSection(boolean readLockRequested)
Enter a critical section.
|
void |
leaveCriticalSection()
Leave a critical section.
|
public void enterCriticalSection(boolean readLockRequested)
Lock
enterCriticalSection
in interface Lock
readLockRequested
- true implies a read lock, false implies write lock.Lock.leaveCriticalSection()
public void leaveCriticalSection()
Lock
leaveCriticalSection
in interface Lock
Lock.enterCriticalSection(boolean)
Licenced under the Apache License, Version 2.0