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

#include <barrier.h>

List of all members.

Public Member Functions

 Barrier (int num_threads)
 Barrier (const Barrier &)
bool Block ()
Barrieroperator= (const Barrier &)

Private Member Functions

int num_to_block_ GUARDED_BY (lock_)
int num_to_exit_ GUARDED_BY (lock_)

Private Attributes

Mutex lock_

Detailed Description

Definition at line 49 of file barrier.h.


Constructor & Destructor Documentation

absl::Barrier::Barrier ( int  num_threads) [inline, explicit]

Definition at line 52 of file barrier.h.


Member Function Documentation

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]
Barrier& absl::Barrier::operator= ( const Barrier )

Member Data Documentation

Definition at line 71 of file barrier.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