Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes
absl::synchronization_internal::Waiter Class Reference

#include <waiter.h>

List of all members.

Public Member Functions

void Init ()
Waiteroperator= (const Waiter &)
void Poke ()
void Post ()
bool Wait (KernelTimeout t)
 Waiter ()
 Waiter (const Waiter &)

Static Public Member Functions

static WaiterGetWaiter (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_

Detailed Description

Definition at line 57 of file waiter.h.


Constructor & Destructor Documentation


Member Function Documentation

Definition at line 82 of file waiter.h.

Definition at line 125 of file waiter.cc.

Waiter& absl::synchronization_internal::Waiter::operator= ( const Waiter )

Definition at line 165 of file waiter.cc.

Definition at line 158 of file waiter.cc.

Definition at line 129 of file waiter.cc.


Member Data Documentation

Definition at line 108 of file waiter.h.

Definition at line 91 of file waiter.h.

Definition at line 107 of file waiter.h.

Definition at line 109 of file waiter.h.

Definition at line 110 of file waiter.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:17