reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/tsan/rtl/tsan_mutex.cpp
  231   if (atomic_compare_exchange_strong(&state_, &cmp, kWriteLock,
  237       if (atomic_compare_exchange_weak(&state_, &cmp, kWriteLock,
  249   uptr prev = atomic_fetch_sub(&state_, kWriteLock, memory_order_release);
  262   if ((prev & kWriteLock) == 0)
  266     if ((prev & kWriteLock) == 0) {