class ScopedSpinGuard
Defined at line 46 of file ../../third_party/crashpad/src/util/synchronization/scoped_spin_guard.h
A scoped mutual-exclusion guard wrapping a `SpinGuardState` with RAII
semantics.
Public Methods
void ScopedSpinGuard (const ScopedSpinGuard & )
Defined at line 51 of file ../../third_party/crashpad/src/util/synchronization/scoped_spin_guard.h
ScopedSpinGuard & operator= (const ScopedSpinGuard & )
Defined at line 52 of file ../../third_party/crashpad/src/util/synchronization/scoped_spin_guard.h
void ScopedSpinGuard (ScopedSpinGuard && other)
Defined at line 53 of file ../../third_party/crashpad/src/util/synchronization/scoped_spin_guard.h
ScopedSpinGuard & operator= (ScopedSpinGuard && other)
Defined at line 56 of file ../../third_party/crashpad/src/util/synchronization/scoped_spin_guard.h
std::optional<ScopedSpinGuard> TryCreateScopedSpinGuard (uint64_t timeout_nanos, SpinGuardState & state)
Spins up to `timeout_nanos` nanoseconds trying to lock `state`.
Parameters
Returns
The locked `ScopedSpinGuard` on success, or `std::nullopt` on
timeout.
Defined at line 69 of file ../../third_party/crashpad/src/util/synchronization/scoped_spin_guard.h
void ~ScopedSpinGuard ()
Defined at line 98 of file ../../third_party/crashpad/src/util/synchronization/scoped_spin_guard.h
void ScopedSpinGuard (SpinGuardState & locked_state)
A `ScopedSpinGuard` wrapping a locked `SpinGuardState`.
Parameters
Defined at line 113 of file ../../third_party/crashpad/src/util/synchronization/scoped_spin_guard.h