The following tables list the members exposed by DebugLockFactory.
Name | Description | |
---|---|---|
DebugLockFactory Constructor | Overloaded. |
Name | Description | |
---|---|---|
CurrentReaderCount | Returns the total number of current readers for all threads (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
CurrentWriterCount | Returns the total number of current writers for all threads (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
MaxReaderCount | Returns the highest number of concurrent reads (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
MaxWriterCount | Returns the highest number of concurrent writes (aka max recursive count) (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
TotalReaderCount | Returns the total number of read locks acquired (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
TotalWriterCount | Returns the total number of write locks acquired (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) |
Name | Description | |
---|---|---|
CaptureStack | Toggle if the entire stack is captured on lock aquisition/release for newly created locks | |
ConcurrentReads | Toggle if reads are allowed even if write lock was acquired | |
LimitNestedReaders | Reader nesting limit for newly created locks | |
LimitNestedWriters | Writer nesting limit for newly created locks | |
LimitTimeout | Timeout limit for newly created locks | |
LocalReaderCount | Returns the total number of current readers for this thread | |
LocalWriterCount | Returns the total number of current writers for this thread |
Name | Description | |
---|---|---|
Create | Overridden. Constructs the lock wrapped in a DebugLocking instance | |
GlobalAssertNoLocks | Asserts that none of the locks handed out are currently locked for read or write by any thread (Inherited from CSharpTest.Net.Synchronization.LockCounterFactory) | |
LocalAssertNoLocks | Asserts that none of the locks handed out are currently locked for read or write by this thread |