Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/Support/
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
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DRWMutex.h169 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable
171 template <bool mt_only> struct SmartScopedReader { struct
174 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument
178 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument
/external/llvm/include/llvm/Support/
DRWMutex.h147 struct SmartScopedReader { struct
150 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) { in SmartScopedReader() argument
154 ~SmartScopedReader() { in ~SmartScopedReader() argument