Tungsten
|
MonitorExtensions Class |
Extensions to object to simplify locking with Monitor
Inheritance HierarchyNamespace: W.Threading.Lockers
Assembly: Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
SyntaxC#
public static class MonitorExtensions
The MonitorExtensions type exposes the following members.
Methods| Name | Description | |
|---|---|---|
![]() ![]() | InLock(Object, Action) |
Performs the action in a Monitor lock
|
![]() ![]() | InLockTType(Object, FuncTType) |
Performs the function in a Monitor lock
|
![]() ![]() | InLockAsync(Object, Action) |
Asynchronously performs the action in a Monitor lock
|
![]() ![]() | InLockAsyncTType(Object, FuncTType) |
Asynchronously performs the action in a Monitor lock
|
![]() ![]() | Lock |
Performs a Monitor lock
|
![]() ![]() | Unlock |
Performs a Monitor unlock
|
See Also

