#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 | |
CondVar & | operator= (const CondVar &)=delete |
CondVar & | operator= (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_t > | cv_ |
Definition at line 798 of file abseil-cpp/absl/synchronization/mutex.h.
|
inline |
Definition at line 947 of file abseil-cpp/absl/synchronization/mutex.h.
absl::CondVar::~CondVar | ( | ) |
Definition at line 2462 of file abseil-cpp/absl/synchronization/mutex.cc.
absl::CondVar::CondVar | ( | ) |
absl::CondVar::~CondVar | ( | ) |
void absl::CondVar::EnableDebugLog | ( | const char * | name | ) |
void absl::CondVar::EnableDebugLog | ( | const char * | name | ) |
Definition at line 2456 of file abseil-cpp/absl/synchronization/mutex.cc.
|
private |
|
private |
Definition at line 2470 of file abseil-cpp/absl/synchronization/mutex.cc.
void absl::CondVar::Signal | ( | ) |
void absl::CondVar::Signal | ( | ) |
Definition at line 2649 of file abseil-cpp/absl/synchronization/mutex.cc.
void absl::CondVar::SignalAll | ( | ) |
void absl::CondVar::SignalAll | ( | ) |
Definition at line 2689 of file abseil-cpp/absl/synchronization/mutex.cc.
void absl::CondVar::Wait | ( | Mutex * | mu | ) |
void absl::CondVar::Wait | ( | Mutex * | mu | ) |
Definition at line 2628 of file abseil-cpp/absl/synchronization/mutex.cc.
|
private |
|
private |
Definition at line 2552 of file abseil-cpp/absl/synchronization/mutex.cc.
bool absl::CondVar::WaitWithDeadline | ( | Mutex * | mu, |
absl::Time | deadline | ||
) |
bool absl::CondVar::WaitWithDeadline | ( | Mutex * | mu, |
absl::Time | deadline | ||
) |
Definition at line 2624 of file abseil-cpp/absl/synchronization/mutex.cc.
bool absl::CondVar::WaitWithTimeout | ( | Mutex * | mu, |
absl::Duration | timeout | ||
) |
bool absl::CondVar::WaitWithTimeout | ( | Mutex * | mu, |
absl::Duration | timeout | ||
) |
Definition at line 2620 of file abseil-cpp/absl/synchronization/mutex.cc.
|
private |
|
private |
Definition at line 2636 of file abseil-cpp/absl/synchronization/mutex.cc.
|
private |
Definition at line 867 of file abseil-cpp/absl/synchronization/mutex.h.