19 #include <tbb/mutex.h> 43 tbb::mutex::scoped_lock m_Lock;
55 std::cout <<
"Warning 'NULL Mutex' is used, so no thread safety! Compile with TBB and define USE_TBB to enable TBB mutex." << std::endl;
MutexPrivate * m_pMutexPrivate
bool TryAcquire(Mutex &rMutex)
ScopedLockPrivate * m_pScopedLockPrivate
void Acquire(Mutex &rMutex)