Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h235 wake_writer = (state & (kWriterSpinWait | kReaderSpinWait)) == 0 && in Unlock()
244 new_state = (new_state & ~kWaitingReaderMask) | kReaderSpinWait; in Unlock()
264 } else if ((state & kReaderSpinWait) == 0) { in ReadLock()
267 new_state = state | kReaderSpinWait; in ReadLock()
285 reset_mask = ~kReaderSpinWait; in ReadLock()
300 (kReaderLockMask | kWriterSpinWait | kReaderSpinWait)) == 0 && in ReadUnlock()
367 static constexpr u64 kReaderSpinWait = 1ull << (3 * kCounterWidth + 2); variable