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

#include <mutex.h>

Public Member Functions

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

Private Member Functions

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

Private Attributes

std::atomic< intptr_t > cv_
 

Detailed Description

Definition at line 775 of file mutex.h.

Constructor & Destructor Documentation

absl::CondVar::CondVar ( )
inline

Definition at line 255 of file mutex_nonprod.cc.

absl::CondVar::~CondVar ( )

Definition at line 257 of file mutex_nonprod.cc.

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

Member Function Documentation

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

Definition at line 274 of file mutex_nonprod.cc.

CondVar& absl::CondVar::operator= ( const CondVar )
privatedelete
void absl::CondVar::Remove ( base_internal::PerThreadSynch s)
private

Definition at line 2429 of file mutex.cc.

void absl::CondVar::Signal ( )

Definition at line 259 of file mutex_nonprod.cc.

void absl::CondVar::SignalAll ( )

Definition at line 261 of file mutex_nonprod.cc.

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

Definition at line 263 of file mutex_nonprod.cc.

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

Definition at line 2509 of file mutex.cc.

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

Definition at line 265 of file mutex_nonprod.cc.

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

Definition at line 270 of file mutex_nonprod.cc.

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

Definition at line 2576 of file mutex.cc.

Member Data Documentation

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

Definition at line 848 of file mutex.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:19:59