Click or drag to resize

ILockable Interface

A simple locking mechanism

Namespace:  com.espertech.esper.compat.threading.locks
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public interface ILockable

The ILockable type exposes the following members.

Methods
  NameDescription
Public methodAcquire
Acquires the lock; the lock is released when the disposable object that was returned is disposed.
Public methodAcquire(Int64)
Acquires the specified msec.
Public methodAcquire(Boolean, NullableT)
Public methodRelease
Releases this instance.
Public methodReleaseAcquire
Provides a temporary release of the lock if it is acquired. When the disposable object that is returned is disposed, the lock is re-acquired. This method is effectively the opposite of acquire.
Top
Extension Methods
See Also