#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 &) | |
CondVar & | operator= (const CondVar &) |
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_ |
absl::CondVar::CondVar | ( | ) | [inline] |
Definition at line 255 of file mutex_nonprod.cc.
Definition at line 257 of file mutex_nonprod.cc.
absl::CondVar::CondVar | ( | const CondVar & | ) | [private] |
void absl::CondVar::EnableDebugLog | ( | const char * | name | ) |
Definition at line 274 of file mutex_nonprod.cc.
void absl::CondVar::Remove | ( | base_internal::PerThreadSynch * | s | ) | [private] |
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] |
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] |
std::atomic<intptr_t> absl::CondVar::cv_ [private] |