Provides access to Java synchronization primitives. By declaring the instance in a using block, the .NET runtime will automatically and safely (in the presence of exceptions) enter and exit a critical section based on the specified Java object.
For a list of all members of this type, see JavaProxyLockHolder Members.
System.Object
Codemesh.JuggerNET.JavaProxyLockHolder
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
using( JavaProxyLockHolder jlh = new JavaProxyLockHolder( obj ) )
{
// perform code in thread-safe block
}
Namespace: Codemesh.JuggerNET
Assembly: netrt (in netrt.dll)
JavaProxyLockHolder Members | Codemesh.JuggerNET Namespace | JavaProxyMonitor