![]() |
VR-Forces 5.0.3 Developer's Guide
|
Template around a TBB RW Mutex lock which adds a tracy marker when the lock is waiting on the mutex. T_LockName is the text that shows in Tracy while waiting on the mutex.
Public Member Functions | |
| DtTracyScopedRwLock (T_Mutex &m, bool writeLock) | |
| void | acquire (T_Mutex &m, bool writeLock=true) |
| bool | upgrade_to_writer () |
| void | release () |
| bool | downgrade_to_reader () |
Protected Attributes | |
| T_Mutex::scoped_lock | lock |
|
inline |
|
inline |
References DtPROFILEC, and DtTracyScopedRwLock< T_Mutex, T_LockName >::lock.
Referenced by DtTracyScopedRwLock< T_Mutex, T_LockName >::DtTracyScopedRwLock().
|
inline |
References DtPROFILEC, and DtTracyScopedRwLock< T_Mutex, T_LockName >::lock.
|
inline |
References DtTracyScopedRwLock< T_Mutex, T_LockName >::lock.
|
inline |
References DtTracyScopedRwLock< T_Mutex, T_LockName >::lock.
|
protected |