System::LockContext class

LockContext class

Guard object implementing C# lock() statement.

class LockContext

Methods

MethodDescription
LockContext(Object *)Locks object.
unlock()Unlocks object.
~LockContext()Unlocks object if not locked yet.

See Also