casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::Barrier Class Reference

#include <Barrier.h>

Public Member Functions

 Barrier (std::size_t count)
 
void wait ()
 

Private Attributes

std::mutex mutex_
 
std::condition_variable cvar_
 
std::size_t count_
 

Detailed Description

Definition at line 34 of file Barrier.h.

Constructor & Destructor Documentation

casa::Barrier::Barrier ( std::size_t  count)
inlineexplicit

Definition at line 40 of file Barrier.h.

Member Function Documentation

void casa::Barrier::wait ( )
inline

Definition at line 41 of file Barrier.h.

References count_, cvar_, and mutex_.

Member Data Documentation

std::size_t casa::Barrier::count_
private

Definition at line 38 of file Barrier.h.

Referenced by wait().

std::condition_variable casa::Barrier::cvar_
private

Definition at line 37 of file Barrier.h.

Referenced by wait().

std::mutex casa::Barrier::mutex_
private

Definition at line 36 of file Barrier.h.

Referenced by wait().


The documentation for this class was generated from the following file: