#include <spinlock.h>
Definition at line 51 of file spinlock.h.
◆ anonymous enum
Enumerator |
---|
kSpinLockCooperative | |
Definition at line 151 of file spinlock.h.
◆ anonymous enum
Enumerator |
---|
kSpinLockDisabledScheduling | |
Definition at line 152 of file spinlock.h.
◆ anonymous enum
Enumerator |
---|
kSpinLockSleeper | |
Definition at line 153 of file spinlock.h.
◆ anonymous enum
◆ anonymous enum
◆ SpinLock() [1/5]
absl::base_internal::SpinLock::SpinLock |
( |
| ) |
|
|
inline |
◆ SpinLock() [2/5]
◆ SpinLock() [3/5]
◆ SpinLock() [4/5]
◆ ~SpinLock()
absl::base_internal::SpinLock::~SpinLock |
( |
| ) |
|
|
inline |
◆ SpinLock() [5/5]
absl::base_internal::SpinLock::SpinLock |
( |
const SpinLock & |
| ) |
|
|
privatedelete |
◆ DecodeWaitCycles()
uint64_t absl::base_internal::SpinLock::DecodeWaitCycles |
( |
uint32_t |
lock_value | ) |
|
|
staticprotected |
◆ EncodeWaitCycles()
uint32_t absl::base_internal::SpinLock::EncodeWaitCycles |
( |
int64_t |
wait_start_time, |
|
|
int64_t |
wait_end_time |
|
) |
| |
|
staticprotected |
◆ InitLinkerInitializedAndCooperative()
void absl::base_internal::SpinLock::InitLinkerInitializedAndCooperative |
( |
| ) |
|
|
private |
◆ IsCooperative()
◆ IsHeld()
bool absl::base_internal::SpinLock::IsHeld |
( |
| ) |
const |
|
inline |
◆ Lock()
void absl::base_internal::SpinLock::Lock |
( |
| ) |
|
|
inline |
◆ operator=()
◆ SlowLock()
void absl::base_internal::SpinLock::SlowLock |
( |
| ) |
|
|
private |
◆ SlowUnlock()
void absl::base_internal::SpinLock::SlowUnlock |
( |
uint32_t |
lock_value | ) |
|
|
private |
◆ SpinLoop()
uint32_t absl::base_internal::SpinLock::SpinLoop |
( |
| ) |
|
|
private |
◆ TryLock()
bool absl::base_internal::SpinLock::TryLock |
( |
| ) |
|
|
inline |
◆ TryLockImpl()
bool absl::base_internal::SpinLock::TryLockImpl |
( |
| ) |
|
|
inlineprivate |
◆ TryLockInternal()
uint32_t absl::base_internal::SpinLock::TryLockInternal |
( |
uint32_t |
lock_value, |
|
|
uint32_t |
wait_cycles |
|
) |
| |
|
inlineprivate |
◆ Unlock()
void absl::base_internal::SpinLock::Unlock |
( |
| ) |
|
|
inline |
◆ SpinLockTest
◆ lockword_
std::atomic<uint32_t> absl::base_internal::SpinLock::lockword_ |
|
private |
The documentation for this class was generated from the following files: