A simple scoped lock (RAII-style locking for exclusive/write access). More...
#include <opencv2/core/utils/lock.private.hpp>
Public Types | |
typedef _Mutex | Mutex |
Public Member Functions | |
lock_guard (Mutex &m) | |
~lock_guard () | |
void | release () |
A simple scoped lock (RAII-style locking for exclusive/write access).
Emulate std::lock_guard (C++11), partially std::unique_lock (C++11),
typedef _Mutex cv::utils::lock_guard< _Mutex >::Mutex |
|
inlineexplicit |
Referenced by cv::utils::lock_guard< _Mutex >::release().
|
inline |
|
inline |
References CV_DbgAssert, and cv::utils::lock_guard< _Mutex >::lock_guard().