reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
25 atomic_store(&state_, 0, memory_order_relaxed); 35 return atomic_exchange(&state_, 1, memory_order_acquire) == 0; 39 atomic_store(&state_, 0, memory_order_release); 43 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), 1); 55 if (atomic_load(&state_, memory_order_relaxed) == 0 56 && atomic_exchange(&state_, 1, memory_order_acquire) == 0)