Class Lock

Class Documentation

class Lock

Lock.

The Lock can be used to lock a non-threadsafe objects. Locks are local, and cannot be transfered remote localities.

Public Functions

void lock()

Acquire the lock.

void unlock()

Release the lock.