Home
last modified time | relevance | path

Searched defs:SmartScopedReader (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DRWMutex.h167 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable
169 template <bool mt_only> struct SmartScopedReader { struct
172 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument
176 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument