OpenCV
4.10.0-dev
Open Source Computer Vision
|
An optional shared scoped lock (RAII-style locking for shared/reader access). More...
#include <opencv2/core/utils/lock.private.hpp>
Public Types | |
typedef _Mutex | Mutex |
Public Member Functions | |
optional_shared_lock_guard (Mutex *m) | |
~optional_shared_lock_guard () | |
Protected Attributes | |
Mutex * | mutex_ |
An optional shared scoped lock (RAII-style locking for shared/reader access).
Doesn't lock if mutex pointer is NULL.
typedef _Mutex cv::utils::optional_shared_lock_guard< _Mutex >::Mutex |
|
inlineexplicit |
|
inline |
|
protected |