Public Member Functions | Private Member Functions | Private Attributes | List of all members
absl::CondVar Class Reference

#include <mutex.h>

Public Member Functions

 CondVar ()
 
 CondVar ()
 
void EnableDebugLog (const char *name)
 
void EnableDebugLog (const char *name)
 
void Signal ()
 
void Signal ()
 
void SignalAll ()
 
void SignalAll ()
 
void Wait (Mutex *mu)
 
void Wait (Mutex *mu)
 
bool WaitWithDeadline (Mutex *mu, absl::Time deadline)
 
bool WaitWithDeadline (Mutex *mu, absl::Time deadline)
 
bool WaitWithTimeout (Mutex *mu, absl::Duration timeout)
 
bool WaitWithTimeout (Mutex *mu, absl::Duration timeout)
 
 ~CondVar ()
 
 ~CondVar ()
 

Private Member Functions

 CondVar (const CondVar &)=delete
 
 CondVar (const CondVar &)=delete
 
CondVaroperator= (const CondVar &)=delete
 
CondVaroperator= (const CondVar &)=delete
 
void Remove (base_internal::PerThreadSynch *s)
 
void Remove (base_internal::PerThreadSynch *s)
 
bool WaitCommon (Mutex *mutex, synchronization_internal::KernelTimeout t)
 
bool WaitCommon (Mutex *mutex, synchronization_internal::KernelTimeout t)
 
void Wakeup (base_internal::PerThreadSynch *w)
 
void Wakeup (base_internal::PerThreadSynch *w)
 

Private Attributes

std::atomic< intptr_tcv_
 

Detailed Description

Definition at line 798 of file abseil-cpp/absl/synchronization/mutex.h.

Constructor & Destructor Documentation

◆ CondVar() [1/4]

absl::CondVar::CondVar ( )
inline

Definition at line 947 of file abseil-cpp/absl/synchronization/mutex.h.

◆ ~CondVar() [1/2]

absl::CondVar::~CondVar ( )

Definition at line 2462 of file abseil-cpp/absl/synchronization/mutex.cc.

◆ CondVar() [2/4]

absl::CondVar::CondVar ( const CondVar )
privatedelete

◆ CondVar() [3/4]

absl::CondVar::CondVar ( )

◆ ~CondVar() [2/2]

absl::CondVar::~CondVar ( )

◆ CondVar() [4/4]

absl::CondVar::CondVar ( const CondVar )
privatedelete

Member Function Documentation

◆ EnableDebugLog() [1/2]

void absl::CondVar::EnableDebugLog ( const char *  name)

◆ EnableDebugLog() [2/2]

void absl::CondVar::EnableDebugLog ( const char *  name)

Definition at line 2456 of file abseil-cpp/absl/synchronization/mutex.cc.

◆ operator=() [1/2]

CondVar& absl::CondVar::operator= ( const CondVar )
privatedelete

◆ operator=() [2/2]

CondVar& absl::CondVar::operator= ( const CondVar )
privatedelete

◆ Remove() [1/2]

void absl::CondVar::Remove ( base_internal::PerThreadSynch s)
private

◆ Remove() [2/2]

void absl::CondVar::Remove ( base_internal::PerThreadSynch s)
private

Definition at line 2470 of file abseil-cpp/absl/synchronization/mutex.cc.

◆ Signal() [1/2]

void absl::CondVar::Signal ( )

◆ Signal() [2/2]

void absl::CondVar::Signal ( )

Definition at line 2649 of file abseil-cpp/absl/synchronization/mutex.cc.

◆ SignalAll() [1/2]

void absl::CondVar::SignalAll ( )

◆ SignalAll() [2/2]

void absl::CondVar::SignalAll ( )

Definition at line 2689 of file abseil-cpp/absl/synchronization/mutex.cc.

◆ Wait() [1/2]

void absl::CondVar::Wait ( Mutex mu)

◆ Wait() [2/2]

void absl::CondVar::Wait ( Mutex mu)

Definition at line 2628 of file abseil-cpp/absl/synchronization/mutex.cc.

◆ WaitCommon() [1/2]

bool absl::CondVar::WaitCommon ( Mutex mutex,
synchronization_internal::KernelTimeout  t 
)
private

◆ WaitCommon() [2/2]

bool absl::CondVar::WaitCommon ( Mutex mutex,
synchronization_internal::KernelTimeout  t 
)
private

Definition at line 2552 of file abseil-cpp/absl/synchronization/mutex.cc.

◆ WaitWithDeadline() [1/2]

bool absl::CondVar::WaitWithDeadline ( Mutex mu,
absl::Time  deadline 
)

◆ WaitWithDeadline() [2/2]

bool absl::CondVar::WaitWithDeadline ( Mutex mu,
absl::Time  deadline 
)

Definition at line 2624 of file abseil-cpp/absl/synchronization/mutex.cc.

◆ WaitWithTimeout() [1/2]

bool absl::CondVar::WaitWithTimeout ( Mutex mu,
absl::Duration  timeout 
)

◆ WaitWithTimeout() [2/2]

bool absl::CondVar::WaitWithTimeout ( Mutex mu,
absl::Duration  timeout 
)

Definition at line 2620 of file abseil-cpp/absl/synchronization/mutex.cc.

◆ Wakeup() [1/2]

void absl::CondVar::Wakeup ( base_internal::PerThreadSynch w)
private

◆ Wakeup() [2/2]

void absl::CondVar::Wakeup ( base_internal::PerThreadSynch w)
private

Definition at line 2636 of file abseil-cpp/absl/synchronization/mutex.cc.

Member Data Documentation

◆ cv_

std::atomic< intptr_t > absl::CondVar::cv_
private

Definition at line 867 of file abseil-cpp/absl/synchronization/mutex.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:08