#include <barrier.h>
Public Member Functions | |
Barrier (int num_threads) | |
Barrier (const Barrier &) | |
bool | Block () |
Barrier & | operator= (const Barrier &) |
Private Member Functions | |
int num_to_block_ | GUARDED_BY (lock_) |
int num_to_exit_ | GUARDED_BY (lock_) |
Private Attributes | |
Mutex | lock_ |
absl::Barrier::Barrier | ( | int | num_threads | ) | [inline, explicit] |
absl::Barrier::Barrier | ( | const Barrier & | ) |
bool absl::Barrier::Block | ( | ) |
Definition at line 27 of file barrier.cc.
int num_to_block_ absl::Barrier::GUARDED_BY | ( | lock_ | ) | [private] |
int num_to_exit_ absl::Barrier::GUARDED_BY | ( | lock_ | ) | [private] |
Mutex absl::Barrier::lock_ [private] |