Class shared_memory::Lock

class shared_memory::Lock

A scope lock object for locking a shared memory mutex, to use for example with a shared memory condition variable.

The scope is unlocked on destruction.

Public Functions

Lock(Mutex &mutex)

lock the mutex

Private Members

friend ConditionVariable
SHMScopeLock lock_