OpenCV
4.0.0
Open Source Computer Vision
|
An optional simple scoped lock (RAII-style locking for exclusive/write access). More...
#include "lock.private.hpp"
Public Types | |
typedef _Mutex | Mutex |
Public Member Functions | |
optional_lock_guard (Mutex *m) | |
~optional_lock_guard () | |
An optional simple scoped lock (RAII-style locking for exclusive/write access).
Doesn't lock if mutex pointer is NULL.
typedef _Mutex cv::utils::optional_lock_guard< _Mutex >::Mutex |
|
inlineexplicit |
|
inline |