CSharpTest.Net
DebugLocking Class Members
See Also  Fields  Properties  Methods  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Synchronization Namespace : DebugLocking Class


Glossary Item Box

The following tables list the members exposed by DebugLocking.

Public Constructors

 NameDescription
Public ConstructorDebugLocking ConstructorOverloaded.   
Top

Public Fields

 NameDescription
Public FieldCurrentReaderCountReturns the total number of current readers for all threads  
Public FieldCurrentWriterCountReturns the total number of current writers for all threads  
Public FieldMaxReaderCountReturns the highest number of concurrent reads  
Public FieldMaxWriterCountReturns the highest number of concurrent writes (aka max recursive count)  
Public FieldTotalReaderCountReturns the total number of read locks acquired  
Public FieldTotalWriterCountReturns the total number of write locks acquired  
Top

Public Properties

 NameDescription
Public PropertyCaptureStackCapture the stack on every lock aquisition and release  
Public PropertyLocalReaderCountReturns the total number of current readers for this thread  
Public PropertyLocalWriterCountReturns the total number of current writers for this thread  
Public PropertyWriteVersionChanges every time a write lock is aquired. If WriteVersion == 0, no write locks have been issued.  
Top

Public Methods

 NameDescription
Public MethodDisposeDisposes of this lock  
Public MethodReadOverloaded. Returns a reader lock that can be elevated to a write lock  
Public MethodReleaseReadReleases a read lock  
Public MethodReleaseWriteReleases a writer lock  
Public MethodTryReadReturns true if the lock was successfully obtained within the timeout specified  
Public MethodTryWriteReturns true if the lock was successfully obtained within the timeout specified  
Public MethodWriteOverloaded. Returns a read and write lock  
Top

See Also

Generated with Document! X 2011 by Innovasys