#include <blocking_counter.h>
Public Member Functions | |
BlockingCounter (int initial_count) | |
BlockingCounter (const BlockingCounter &)=delete | |
bool | DecrementCount () |
BlockingCounter & | operator= (const BlockingCounter &)=delete |
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.
|
inlineexplicit |
Definition at line 62 of file blocking_counter.h.
|
delete |
bool absl::BlockingCounter::DecrementCount | ( | ) |
Definition at line 26 of file blocking_counter.cc.
|
private |
|
private |
|
delete |
void absl::BlockingCounter::Wait | ( | ) |
Definition at line 38 of file blocking_counter.cc.
|
private |
Definition at line 90 of file blocking_counter.h.