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 ( )

Definition at line 255 of file

absl::CondVar::~CondVar ( )

Definition at line 257 of file

absl::CondVar::CondVar ( const CondVar )

Member Function Documentation

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

Definition at line 274 of file

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

Definition at line 2429 of file

void absl::CondVar::Signal ( )

Definition at line 259 of file

void absl::CondVar::SignalAll ( )

Definition at line 261 of file

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

Definition at line 263 of file

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

Definition at line 2509 of file

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

Definition at line 265 of file

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

Definition at line 270 of file

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

Definition at line 2576 of file

Member Data Documentation

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

Definition at line 848 of file mutex.h.

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

autogenerated on Wed Jun 19 2019 19:19:59