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
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.
Unlock
Unlock this monitor.