Method | Description | |
---|---|---|
Acquire ( ) : void |
acquires the lock. the lock must be released the same number of times it's been locked
|
|
IsHeldByCurrentThread ( ) : bool |
tests whether the lock is held by the current (calling) thread
|
|
ReentrantLock ( ) : System | ||
Release ( ) : void |
releases the lock (must be called one for every Acquire())
|