#include <spinlock.h>
◆ SpinLock() [1/8]
absl::base_internal::SpinLock::SpinLock |
( |
| ) |
|
|
inline |
◆ SpinLock() [2/8]
◆ SpinLock() [3/8]
◆ ~SpinLock() [1/2]
absl::base_internal::SpinLock::~SpinLock |
( |
| ) |
|
|
default |
◆ SpinLock() [4/8]
◆ SpinLock() [5/8]
absl::base_internal::SpinLock::SpinLock |
( |
| ) |
|
|
inline |
◆ SpinLock() [6/8]
◆ SpinLock() [7/8]
◆ ~SpinLock() [2/2]
absl::base_internal::SpinLock::~SpinLock |
( |
| ) |
|
|
default |
◆ SpinLock() [8/8]
◆ AssertHeld()
void absl::base_internal::SpinLock::AssertHeld |
( |
| ) |
const |
|
inline |
◆ DecodeWaitCycles() [1/2]
static uint64_t absl::base_internal::SpinLock::DecodeWaitCycles |
( |
uint32_t |
lock_value | ) |
|
|
staticprotected |
◆ DecodeWaitCycles() [2/2]
◆ EncodeWaitCycles() [1/2]
static uint32_t absl::base_internal::SpinLock::EncodeWaitCycles |
( |
int64_t |
wait_start_time, |
|
|
int64_t |
wait_end_time |
|
) |
| |
|
staticprotected |
◆ EncodeWaitCycles() [2/2]
◆ IsCooperative() [1/2]
|
inlinestaticconstexprprivate |
◆ IsCooperative() [2/2]
|
inlinestaticconstexprprivate |
◆ IsHeld() [1/2]
bool absl::base_internal::SpinLock::IsHeld |
( |
| ) |
const |
|
inline |
◆ IsHeld() [2/2]
bool absl::base_internal::SpinLock::IsHeld |
( |
| ) |
const |
|
inline |
◆ Lock() [1/2]
void absl::base_internal::SpinLock::Lock |
( |
| ) |
|
|
inline |
◆ Lock() [2/2]
void absl::base_internal::SpinLock::Lock |
( |
| ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SlowLock() [1/2]
void absl::base_internal::SpinLock::SlowLock |
( |
| ) |
|
|
private |
◆ SlowLock() [2/2]
void absl::base_internal::SpinLock::SlowLock |
( |
| ) |
|
|
private |
◆ SlowUnlock() [1/2]
void absl::base_internal::SpinLock::SlowUnlock |
( |
uint32_t |
lock_value | ) |
|
|
private |
◆ SlowUnlock() [2/2]
void absl::base_internal::SpinLock::SlowUnlock |
( |
uint32_t |
lock_value | ) |
|
|
private |
◆ SpinLoop() [1/2]
uint32_t absl::base_internal::SpinLock::SpinLoop |
( |
| ) |
|
|
private |
◆ SpinLoop() [2/2]
uint32_t absl::base_internal::SpinLock::SpinLoop |
( |
| ) |
|
|
private |
◆ TryLock() [1/2]
bool absl::base_internal::SpinLock::TryLock |
( |
| ) |
|
|
inline |
◆ TryLock() [2/2]
bool absl::base_internal::SpinLock::TryLock |
( |
| ) |
|
|
inline |
◆ TryLockImpl() [1/2]
bool absl::base_internal::SpinLock::TryLockImpl |
( |
| ) |
|
|
inlineprivate |
◆ TryLockImpl() [2/2]
bool absl::base_internal::SpinLock::TryLockImpl |
( |
| ) |
|
|
inlineprivate |
◆ TryLockInternal() [1/2]
◆ TryLockInternal() [2/2]
◆ Unlock() [1/2]
void absl::base_internal::SpinLock::Unlock |
( |
| ) |
|
|
inline |
◆ Unlock() [2/2]
void absl::base_internal::SpinLock::Unlock |
( |
| ) |
|
|
inline |
◆ SpinLockTest
◆ kSpinLockCooperative
static constexpr uint32_t absl::base_internal::SpinLock::kSpinLockCooperative = 2 |
|
staticconstexprprivate |
◆ kSpinLockDisabledScheduling
static constexpr uint32_t absl::base_internal::SpinLock::kSpinLockDisabledScheduling = 4 |
|
staticconstexprprivate |
◆ kSpinLockHeld
static constexpr uint32_t absl::base_internal::SpinLock::kSpinLockHeld = 1 |
|
staticconstexprprivate |
◆ kSpinLockSleeper
static constexpr uint32_t absl::base_internal::SpinLock::kSpinLockSleeper = 8 |
|
staticconstexprprivate |
◆ kWaitTimeMask
static constexpr uint32_t absl::base_internal::SpinLock::kWaitTimeMask |
|
staticconstexprprivate |
◆ lockword_
std::atomic< uint32_t > absl::base_internal::SpinLock::lockword_ |
|
private |
The documentation for this class was generated from the following files: