Monitor
Overview
Monitor class that wraps a (reentrant) system lock
Location
-
Reference:
- Elements.dll .NET, .NET Core 6.0, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
-
Mapped to:
- ManualResetEvent .NET, .NET Core 6.0, .NET Standard 2.0
- ReentrantLock Cooper
- Monitor Island
- NSRecursiveLock Toffee, ToffeeV2
Instance Methods
constructor
constructor
Monitor()
init()
Monitor()
Sub New()
Lock
Locks; this blocks if another thread is currently locked, until it calls unlock and ensurethat only 1 thread at a time will enter this lock.
method Lock
void Lock()
func Lock()
void Lock()
Sub Lock()
Unlock
Unlock this monitor.
method Unlock
void Unlock()
func Unlock()
void Unlock()
Sub Unlock()