Searched defs:SmartScopedWriter (Results 1 – 4 of 4) sorted by relevance
175 using SmartScopedWriter = std::lock_guard<SmartRWMutex<mt_only>>; variable177 template <bool mt_only> struct SmartScopedWriter { struct180 explicit SmartScopedWriter(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedWriter() argument184 ~SmartScopedWriter() { mutex.unlock(); } in ~SmartScopedWriter() argument
175 using SmartScopedWriter = std::lock_guard<SmartRWMutex<mt_only>>; variable177 template <bool mt_only> struct SmartScopedWriter { struct180 explicit SmartScopedWriter(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedWriter() function184 ~SmartScopedWriter() { mutex.unlock(); } in ~SmartScopedWriter() argument
187 using SmartScopedWriter = std::lock_guard<SmartRWMutex<mt_only>>; variable189 template <bool mt_only> struct SmartScopedWriter { struct192 explicit SmartScopedWriter(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedWriter() argument196 ~SmartScopedWriter() { mutex.unlock(); } in ~SmartScopedWriter() argument
187 using SmartScopedWriter = std::lock_guard<SmartRWMutex<mt_only>>; variable189 template <bool mt_only> struct SmartScopedWriter { struct192 explicit SmartScopedWriter(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedWriter() function196 ~SmartScopedWriter() { mutex.unlock(); } in ~SmartScopedWriter() argument