Tungsten
W.Threading.Lockers Namespace |
[Missing <summary> documentation for "N:W.Threading.Lockers"]
Classes
Class | Description | |
---|---|---|
Disposer | Aids in implementing a clean Dispose method. Supports re-entrancy but only calls the cleanup Action once. | |
MonitorExtensions |
Extensions to object to simplify locking with Monitor
| |
MonitorLocker |
Uses Monitor to provide resource locking
| |
MonitorLockerTState |
Extends MonitorLocker with an internal state variable
| |
ReaderWriterLocker |
Uses ReaderWriterLockSlim to provide resource locking
| |
ReaderWriterLockerTState |
Extends ReaderWriterLocker with an internal state variable
| |
ReaderWriterLockSlimExtensions |
Extensions to simplify locking with ReaderWriterLockSlim
| |
SemaphoreSlimExtensions |
Extensions to simplify locking with SemaphoreSlim
| |
SemaphoreSlimLocker |
Uses SemaphoreSlim to provide resource locking
| |
SemaphoreSlimLockerTState |
Extends SemaphoreSlimLocker with an internal state variable
| |
SpinLocker |
Uses SpinLock to provide resource locking
| |
SpinLockerTState |
Extends SpinLocker with an internal state variable
| |
SpinLockExtensions |
Extensions to simplify locking with SpinLock
| |
StateLockerTLocker, TState |
Extends a locker (SpinLocker, MonitorLocker, ReaderWriterLocker, SemaphoreSlimLocker) with an internal state value
|
Interfaces
Interface | Description | |
---|---|---|
ILocker |
The required implementation for a locking object
| |
ILockerTLocker |
The required implementation for a locking object
| |
IReaderWriterStateLockerTState |
Interface definition for a ReaderWriterLocker with a State variable
| |
IStateLockerTLocker, TState |
The required implementation for a stateful locking object
|
Delegates
Delegate | Description | |
---|---|---|
StateAssignmentDelegateTState |
Delegate which can be used to assign a new value to the internal state
|
Enumerations
Enumeration | Description | |
---|---|---|
LockTypeEnum |
Used by ReaderWriterLocker to specify the type of lock to obtain
|