Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
absl::base_internal::PerThreadSynch Struct Reference

#include <thread_identity.h>

Public Types

enum  State { kAvailable, kQueued }
 

Public Member Functions

ThreadIdentitythread_identity ()
 

Public Attributes

SynchLocksHeldall_locks
 
bool cond_waiter
 
bool may_skip
 
bool maybe_unlocking
 
PerThreadSynchnext
 
int64_t next_priority_read_cycles
 
int priority
 
intptr_t readers
 
PerThreadSynchskip
 
std::atomic< Statestate
 
bool suppress_fatal_errors
 
SynchWaitParamswaitp
 
bool wake
 

Static Public Attributes

static constexpr int kAlignment = 1 << kLowZeroBits
 
static constexpr int kLowZeroBits = 8
 

Detailed Description

Definition at line 46 of file thread_identity.h.

Member Enumeration Documentation

◆ State

Enumerator
kAvailable 
kQueued 

Definition at line 106 of file thread_identity.h.

Member Function Documentation

◆ thread_identity()

ThreadIdentity* absl::base_internal::PerThreadSynch::thread_identity ( )
inline

Definition at line 58 of file thread_identity.h.

Member Data Documentation

◆ all_locks

SynchLocksHeld* absl::base_internal::PerThreadSynch::all_locks

Definition at line 133 of file thread_identity.h.

◆ cond_waiter

bool absl::base_internal::PerThreadSynch::cond_waiter

Definition at line 129 of file thread_identity.h.

◆ kAlignment

constexpr int absl::base_internal::PerThreadSynch::kAlignment = 1 << kLowZeroBits
static

Definition at line 53 of file thread_identity.h.

◆ kLowZeroBits

constexpr int absl::base_internal::PerThreadSynch::kLowZeroBits = 8
static

Definition at line 52 of file thread_identity.h.

◆ may_skip

bool absl::base_internal::PerThreadSynch::may_skip

Definition at line 66 of file thread_identity.h.

◆ maybe_unlocking

bool absl::base_internal::PerThreadSynch::maybe_unlocking

Definition at line 112 of file thread_identity.h.

◆ next

PerThreadSynch* absl::base_internal::PerThreadSynch::next

Definition at line 62 of file thread_identity.h.

◆ next_priority_read_cycles

int64_t absl::base_internal::PerThreadSynch::next_priority_read_cycles

Definition at line 93 of file thread_identity.h.

◆ priority

int absl::base_internal::PerThreadSynch::priority

Definition at line 90 of file thread_identity.h.

◆ readers

intptr_t absl::base_internal::PerThreadSynch::readers

Definition at line 89 of file thread_identity.h.

◆ skip

PerThreadSynch* absl::base_internal::PerThreadSynch::skip

Definition at line 63 of file thread_identity.h.

◆ state

std::atomic<State> absl::base_internal::PerThreadSynch::state

Definition at line 110 of file thread_identity.h.

◆ suppress_fatal_errors

bool absl::base_internal::PerThreadSynch::suppress_fatal_errors

Definition at line 83 of file thread_identity.h.

◆ waitp

SynchWaitParams* absl::base_internal::PerThreadSynch::waitp

Definition at line 81 of file thread_identity.h.

◆ wake

bool absl::base_internal::PerThreadSynch::wake

Definition at line 122 of file thread_identity.h.


The documentation for this struct was generated from the following file:


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22