The following tables list the members exposed by ReservedWriteLocking.
Name | Description | |
---|---|---|
ReservedWriteLocking Constructor | Constructs the reader-writer lock using the lock provided |
Name | Description | |
---|---|---|
WriteVersion | Changes every time a write lock is aquired. If WriteVersion == 0, no write locks have been issued. |
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
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 | The first call reserves the Write lock for the current thread but does not stop reader access until the write lock is acquired again. | |
Write | Overloaded. Returns a read and write lock |