ACE 8.0.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ACE_Sub_Barrier Struct Reference

#include <Barrier.h>

Collaboration diagram for ACE_Sub_Barrier:
Collaboration graph
[legend]

Public Member Functions

 ACE_Sub_Barrier (unsigned int count, ACE_Thread_Mutex &lock, const ACE_TCHAR *name=0, void *arg=0)
 
 ~ACE_Sub_Barrier ()=default
 
void dump () const
 Dump the state of an object.
 

Public Attributes

ACE_Condition_Thread_Mutex barrier_finished_
 True if this generation of the barrier is done.
 
std::atomic< intrunning_threads_
 Number of threads that are still running.
 
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 

Constructor & Destructor Documentation

◆ ACE_Sub_Barrier()

ACE_Sub_Barrier::ACE_Sub_Barrier ( unsigned int count,
ACE_Thread_Mutex & lock,
const ACE_TCHAR * name = 0,
void * arg = 0 )

◆ ~ACE_Sub_Barrier()

ACE_Sub_Barrier::~ACE_Sub_Barrier ( )
default

Member Function Documentation

◆ dump()

void ACE_Sub_Barrier::dump ( ) const

Dump the state of an object.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_Sub_Barrier::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

◆ barrier_finished_

ACE_Condition_Thread_Mutex ACE_Sub_Barrier::barrier_finished_

True if this generation of the barrier is done.

◆ running_threads_

std::atomic<int> ACE_Sub_Barrier::running_threads_

Number of threads that are still running.


The documentation for this struct was generated from the following files: