Home
last modified time | relevance | path

Searched refs:GenericScopedReadLock (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h396 class SANITIZER_SCOPED_LOCK GenericScopedReadLock {
398 explicit GenericScopedReadLock(MutexType *mu) SANITIZER_ACQUIRE(mu) in GenericScopedReadLock() function
403 ~GenericScopedReadLock() SANITIZER_RELEASE() { mu_->ReadUnlock(); } in SANITIZER_RELEASE()
408 GenericScopedReadLock(const GenericScopedReadLock &) = delete;
409 void operator=(const GenericScopedReadLock &) = delete;
441 typedef GenericScopedReadLock<Mutex> ReadLock;