Home
last modified time | relevance | path

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

/external/valgrind/drd/tests/
Dtsan_thread_wrappers_pthread.h299 class RWLock {
301 RWLock() { CHECK(0 == pthread_rwlock_init(&mu_, NULL)); } in RWLock() function
302 ~RWLock() { CHECK(0 == pthread_rwlock_destroy(&mu_)); } in ~RWLock()
314 ReaderLockScoped(RWLock *mu) in ReaderLockScoped()
322 RWLock *mu_;
327 WriterLockScoped(RWLock *mu) in WriterLockScoped()
335 RWLock *mu_;
Dtsan_unittest.cpp54 #define RWLock Mutex // Mutex does work as an rw-lock. macro
5760 RWLock mu;
5979 RWLock mu;