Searched refs:kReadLock (Results 1 – 2 of 2) sorted by relevance
118 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
183 const uptr kReadLock = 2; variable262 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()