Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h118 u32 prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); in ReadLock()
125 u32 prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release); in ReadUnlock()
141 kReadLock = 2 enumerator
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cc183 const uptr kReadLock = 2; variable
262 uptr prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); in ReadLock()
277 uptr prev = atomic_fetch_sub(&state_, kReadLock, memory_order_release); in ReadUnlock()