Lock
Unified representation of monitor lock, semaphore lock, read lock, write lock or upgradeable read lock.
Represents acquired lock holder.
Creates monitor-based lock control object but doesn't acquire the lock.
Creates monitor-based lock control object but doesn't acquire the lock.
Creates exclusive lock.
Determines whether two locks are the same.
Determines whether two locks are not the same.
Creates read lock but doesn't acquire it.
Wraps semaphore instance into the unified representation of the lock.
Creates semaphore-based lock but doesn't acquire the lock.
Creates write lock but doesn't acquire it.
Acquires lock.
Acquires lock.
Destroy this lock and dispose underlying lock object if it is owned by the given lock.
Determines whether this lock object is the same as other lock.
Attempts to acquire lock.
Attempts to acquire lock.