LockUtilities Methods
The LockUtilities type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
Acquire |
Acquires a semaphore as a blocking operation. When this is disposed, the semaphore will be released.
|
![]() ![]() |
AcquireAsync |
Acquires a semaphore as an asynchronous operation. When this is disposed, the semaphore will be released.
|
![]() ![]() |
Read |
Acquires a read lock on the indicated ReaderWriterLockSlim.
|
![]() ![]() |
Write |
Acquires a write lock on the indicated ReaderWriterLockSlim.
|