#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 | |
| CondVar & | operator= (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_ |
|
inline |
Definition at line 255 of file mutex_nonprod.cc.
| absl::CondVar::~CondVar | ( | ) |
Definition at line 257 of file mutex_nonprod.cc.
|
privatedelete |
| void absl::CondVar::EnableDebugLog | ( | const char * | name | ) |
Definition at line 274 of file mutex_nonprod.cc.
|
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.
|
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.
|
private |