public void enterCriticalSection(boolean readLockRequested)(Code)
Enter a critical section.
The application must call leaveCriticialSection.
See Also:Lock.leaveCriticalSection Parameters: readLockRequested - true implies a read lock,false implies write lock.