Class | Description | |
---|---|---|
DebugLockFactory | Creates a debugging lock factory that can track locks allocated and all acquired/released read/write locks | |
DebugLockFactory<T> | Creates a debugging lock factory that can track locks allocated and all acquired/released read/write locks | |
DebugLocking | Creates a tracking/assertion wrapper around an implementation of an ILockStrategy to verify lock state before and after acquisition and release of both reader and writer locks. | |
DebugLocking<T> | Creates a tracking/assertion wrapper around an implementation of an ILockStrategy to verify lock state before and after acquisition and release of both reader and writer locks. | |
ExclusiveLocking | wraps the reader/writer lock around Monitor | |
IgnoreLockFactory | Singleton instance of ignore locking | |
IgnoreLocking | wraps the reader/writer lock around Monitor | |
LockCounterFactory | Creates a debugging lock factory that can track locks allocated and all acquired/released read/write locks | |
LockCounterFactory<T> | Creates a debugging lock factory that can track locks allocated and all acquired/released read/write locks | |
LockFactory<T> | A generic implementation that constructs a lock by type | |
MutexLock | Creates a lock on a mutex that can be released via the Dispose() method, for use in a using statement | |
ReaderWriterLocking | wraps the System.Threading.ReaderWriterLock lock, does not support read->write upgrades | |
ReservedWriteLocking | provides a simple and fast, writer only lock, request for read immediatly return true. | |
ReservedWriteLocking<T> | provides a simple and fast, writer only lock, request for read immediatly return true. | |
SimpleReadWriteLocking | provides a simple and fast, reader-writer lock, does not support read->write upgrades, if you need an upgradeable lock, use UpgradeableReadWriteLocking | |
WriterOnlyLocking | provides a writer-only lock around Monitor. The TryRead/ReleaseRead methods are no-ops and always return true. |
Interface | Description | |
---|---|---|
ILockFactory | A factory that produces instances of ILockStrategy to aquire/release read/write locks | |
ILockStrategy | An interface that allows reader/writer locking with the using() statement |
Structure | Description | |
---|---|---|
ReadLock | Allows a read lock to be disposed or elevated to a write lock | |
SafeLock | Used to acquire a lock(object) with a timeout, either specified or the default of 2 minutes. | |
SafeLock<TException> | Exactly as SafeLock except that <T> specifies the exception type to throw. Used to acquire a lock(object) with a timeout, either specified or the default of 2 minutes. | |
WriteLock | Allows a write lock to be disposed |