Tungsten
ILockerTLocker Interface |
The required implementation for a locking object
Namespace: W.Threading.Lockers
Assembly: Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
Syntax
C#
public interface ILocker<TLocker> : ILocker
Type Parameters
- TLocker
- The type of locker to use (SpinLock, Monitor, SemaphoreSlim, ReaderWriterLock)
The ILockerTLocker type exposes the following members.
Properties
Methods
Name | Description | |
---|---|---|
InLock(Action) |
Perform some action in a lock
(Inherited from ILocker.) | |
InLockTResult(FuncTResult) |
Perform some function in a lock
(Inherited from ILocker.) | |
InLockAsync(Action) | (Inherited from ILocker.) | |
InLockAsyncTResult(FuncTResult) |
Asyncrhonously perform some function in a lock
(Inherited from ILocker.) |
See Also