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

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
  650   if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked)
  652   while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) {
  666   u32 v = atomic_exchange(m, MtxUnlocked, memory_order_release);
  667   CHECK_NE(v, MtxUnlocked);
  681   CHECK_NE(MtxUnlocked, atomic_load(m, memory_order_relaxed));