Searched defs:SmartScopedReader (Results 1 – 4 of 4) sorted by relevance
158 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable160 template <bool mt_only> struct SmartScopedReader { struct163 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() function167 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument
158 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable160 template <bool mt_only> struct SmartScopedReader { struct163 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument167 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument
170 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable172 template <bool mt_only> struct SmartScopedReader { struct175 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() function179 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument
170 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable172 template <bool mt_only> struct SmartScopedReader { struct175 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument179 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument