C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Base synchronization object with lazy initialization which supports nested locks. More...
#include <tool_mutex.h>
Public Member Functions | |
void | Lock () const |
Switch lock on (locking happens only in parallel region). | |
void | Unlock () const |
Switch lock off if locking has been set. | |
CommonRecursiveMutex * | GetLock () const |
Get a pointer to the mutex object. Return nullptr if no parallelism. For use in ScopedLock. | |
Base synchronization object with lazy initialization which supports nested locks.
Base synchronization object with support of nested locks which creates a lock if necessary.