Spinlock state for ScopedSpinGuard
.
More...
#include "util/synchronization/scoped_spin_guard.h"
Public Member Functions | |
constexpr | SpinGuardState () |
A ScopedSpinGuard in an unlocked state. | |
SpinGuardState (const SpinGuardState &)=delete | |
SpinGuardState & | operator= (const SpinGuardState &)=delete |
Public Attributes | |
std::atomic< bool > | locked |
true if the ScopedSpinGuard is locked, false otherwise. | |
Spinlock state for ScopedSpinGuard
.