Home
last modified time | relevance | path

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

/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Support/
DRWMutex.h158 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable
160 template <bool mt_only> struct SmartScopedReader { struct
163 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() function
167 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument
/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Support/
DRWMutex.h158 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable
160 template <bool mt_only> struct SmartScopedReader { struct
163 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument
167 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument
/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Support/
DRWMutex.h170 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable
172 template <bool mt_only> struct SmartScopedReader { struct
175 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() function
179 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument
/prebuilts/clang/host/linux-x86/clang-r547379/include/llvm/Support/
DRWMutex.h170 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable
172 template <bool mt_only> struct SmartScopedReader { struct
175 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument
179 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument