#include <blocking_counter.h>
Public Member Functions | |
BlockingCounter (int initial_count) | |
BlockingCounter (const BlockingCounter &) | |
bool | DecrementCount () |
BlockingCounter & | operator= (const BlockingCounter &) |
void | Wait () |
Private Member Functions | |
int count_ | GUARDED_BY (lock_) |
int num_waiting_ | GUARDED_BY (lock_) |
Private Attributes | |
Mutex | lock_ |
Definition at line 60 of file blocking_counter.h.
absl::BlockingCounter::BlockingCounter | ( | int | initial_count | ) | [inline, explicit] |
Definition at line 62 of file blocking_counter.h.
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 & | ) |
void absl::BlockingCounter::Wait | ( | ) |
Definition at line 38 of file blocking_counter.cc.
Mutex absl::BlockingCounter::lock_ [private] |
Definition at line 90 of file blocking_counter.h.