The following tables list the members exposed by DebugLocking<T>.
Name | Description | |
---|---|---|
DebugLocking<T> Constructor | Overloaded. |
Name | Description | |
---|---|---|
CurrentReaderCount | Returns the total number of current readers for all threads (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
CurrentWriterCount | Returns the total number of current writers for all threads (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
MaxReaderCount | Returns the highest number of concurrent reads (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
MaxWriterCount | Returns the highest number of concurrent writes (aka max recursive count) (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
TotalReaderCount | Returns the total number of read locks acquired (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
TotalWriterCount | Returns the total number of write locks acquired (Inherited from CSharpTest.Net.Synchronization.DebugLocking) |
Name | Description | |
---|---|---|
CaptureStack | Capture the stack on every lock aquisition and release (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
LocalReaderCount | Returns the total number of current readers for this thread (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
LocalWriterCount | Returns the total number of current writers for this thread (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
WriteVersion | Changes every time a write lock is aquired. If WriteVersion == 0, no write locks have been issued. (Inherited from CSharpTest.Net.Synchronization.DebugLocking) |
Name | Description | |
---|---|---|
Dispose | Disposes of this lock (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
Read | Overloaded. Returns a reader lock that can be elevated to a write lock (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
ReleaseRead | Releases a read lock (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
ReleaseWrite | Releases a writer lock (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
TryRead | Returns true if the lock was successfully obtained within the timeout specified (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
TryWrite | Returns true if the lock was successfully obtained within the timeout specified (Inherited from CSharpTest.Net.Synchronization.DebugLocking) | |
Write | Overloaded. Returns a read and write lock (Inherited from CSharpTest.Net.Synchronization.DebugLocking) |