tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ThreadBarrier Class Reference

#include <threadbarrier.h>

Collaboration diagram for ThreadBarrier:

Public Member Functions

 ThreadBarrier (unsigned numThread)
 
void Wait ()
 

Private Attributes

unsigned m_numThread
 
std::atomic< unsigned > m_arrived
 

Constructor & Destructor Documentation

ThreadBarrier::ThreadBarrier ( unsigned  numThread)
inline

Member Function Documentation

void ThreadBarrier::Wait ( )
inline

Here is the caller graph for this function:

Member Data Documentation

std::atomic<unsigned> ThreadBarrier::m_arrived
private
unsigned ThreadBarrier::m_numThread
private

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