Class JVMBridgeAutoLock
Helper class to automatically release lock by a using clause
public class JVMBridgeAutoLock : IDisposable
- Inheritance
-
JVMBridgeAutoLock
- Implements
- Inherited Members
- Extension Methods
Constructors
JVMBridgeAutoLock(IJVMBridgeBase)
Initialize a new instance of JVMBridgeAutoLock and execute MonitorEnter() on classToLock
public JVMBridgeAutoLock(IJVMBridgeBase classToLock)
Parameters
classToLock
IJVMBridgeBaseThe instance to lock
Methods
Dispose()
Release the lock using MonitorExit()
public void Dispose()
~JVMBridgeAutoLock()
Finalize the JVMBridgeAutoLock instance
protected ~JVMBridgeAutoLock()