Searched defs:SmartScopedReader (Results 1 – 7 of 7) sorted by relevance
161 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable163 template <bool mt_only> struct SmartScopedReader { struct166 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument170 ~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
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
169 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable171 template <bool mt_only> struct SmartScopedReader { struct174 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument178 ~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
147 struct SmartScopedReader { struct150 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) { in SmartScopedReader() argument154 ~SmartScopedReader() { in ~SmartScopedReader() argument