15 #include "absl/synchronization/barrier.h"
17 #include "absl/base/internal/raw_logging.h"
18 #include "absl/synchronization/mutex.h"
25 return 0 == *
reinterpret_cast<int *
>(
arg);
31 this->num_to_block_--;
32 if (this->num_to_block_ < 0) {
35 "Block() called too many times. num_to_block_=%d out of total=%d",
36 this->num_to_block_, this->num_to_exit_);
48 return this->num_to_exit_ == 0;