Public Member Functions | Private Member Functions | Private Attributes
absl::BlockingCounter Class Reference

#include <blocking_counter.h>

List of all members.

Public Member Functions

 BlockingCounter (int initial_count)
 BlockingCounter (const BlockingCounter &)
bool DecrementCount ()
BlockingCounteroperator= (const BlockingCounter &)
void Wait ()

Private Member Functions

int count_ GUARDED_BY (lock_)
int num_waiting_ GUARDED_BY (lock_)

Private Attributes

Mutex lock_

Detailed Description

Definition at line 60 of file blocking_counter.h.


Constructor & Destructor Documentation

absl::BlockingCounter::BlockingCounter ( int  initial_count) [inline, explicit]

Definition at line 62 of file blocking_counter.h.


Member Function Documentation

Definition at line 26 of file blocking_counter.cc.

int count_ absl::BlockingCounter::GUARDED_BY ( lock_  ) [private]
int num_waiting_ absl::BlockingCounter::GUARDED_BY ( lock_  ) [private]
BlockingCounter& absl::BlockingCounter::operator= ( const BlockingCounter )

Definition at line 38 of file blocking_counter.cc.


Member Data Documentation

Definition at line 90 of file blocking_counter.h.


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


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