The following tables list the members exposed by WriterOnlyLocking.
Name | Description | |
---|---|---|
WriterOnlyLocking Constructor |
Name | Description | |
---|---|---|
WriteVersion | Changes every time a write lock is aquired. If WriteVersion == 0, no write locks have been issued. |
Name | Description | |
---|---|---|
Read | Overloaded. Returns a reader lock that can be elevated to a write lock | |
ReleaseRead | Releases a read lock | |
ReleaseWrite | Releases a writer lock | |
TryRead | Returns true if the lock was successfully obtained within the timeout specified | |
TryWrite | Returns true if the lock was successfully obtained within the timeout specified | |
Write | Overloaded. Returns a read and write lock |