#include <waiter.h>
Public Member Functions | |
void | Init () |
Waiter & | operator= (const Waiter &) |
void | Poke () |
void | Post () |
bool | Wait (KernelTimeout t) |
Waiter () | |
Waiter (const Waiter &) | |
Static Public Member Functions | |
static Waiter * | GetWaiter (base_internal::ThreadIdentity *identity) |
Static Public Attributes | |
static const int | kIdlePeriods = 60 |
Private Attributes | |
pthread_cond_t | cv_ |
pthread_mutex_t | mu_ |
std::atomic< int > | waiter_count_ |
std::atomic< int > | wakeup_count_ |
absl::synchronization_internal::Waiter::Waiter | ( | const Waiter & | ) |
static Waiter* absl::synchronization_internal::Waiter::GetWaiter | ( | base_internal::ThreadIdentity * | identity | ) | [inline, static] |
pthread_cond_t absl::synchronization_internal::Waiter::cv_ [private] |
const int absl::synchronization_internal::Waiter::kIdlePeriods = 60 [static] |
pthread_mutex_t absl::synchronization_internal::Waiter::mu_ [private] |
std::atomic<int> absl::synchronization_internal::Waiter::waiter_count_ [private] |
std::atomic<int> absl::synchronization_internal::Waiter::wakeup_count_ [private] |