| Constructor and Description |
|---|
LockMutex() |
| 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)
LockenterCriticalSection in interface LockreadLockRequested - true implies a read lock,false implies write lock.Lock.leaveCriticalSection()public void leaveCriticalSection()
LockleaveCriticalSection in interface LockLock.enterCriticalSection(boolean)Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP