Searched defs:SmartScopedReader (Results 1 – 3 of 3) sorted by relevance
167 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable169 template <bool mt_only> struct SmartScopedReader { struct172 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument176 ~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
147 struct SmartScopedReader { struct150 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) { in SmartScopedReader() argument154 ~SmartScopedReader() { in ~SmartScopedReader() argument