ACE 8.0.1
|
Implements "barrier synchronization" using ACE_Thread_Mutexes! More...
#include <Barrier.h>
Public Member Functions | |
ACE_Thread_Barrier (unsigned int count, const ACE_TCHAR *name=0) | |
Create a Thread_Barrier, passing in the optional name. | |
~ACE_Thread_Barrier ()=default | |
Default destructor. | |
void | dump () const |
Dump the state of an object. | |
![]() | |
ACE_Barrier (unsigned int count, const ACE_TCHAR *name=0, void *arg=0) | |
Initialize the barrier to synchronize count threads. | |
~ACE_Barrier ()=default | |
Default destructor. | |
int | wait () |
int | shutdown () |
void | dump () const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
![]() | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Additional Inherited Members | |
![]() | |
ACE_Thread_Mutex | lock_ |
Serialize access to the barrier state. | |
int | current_generation_ |
int | count_ |
Total number of threads that can be waiting at any one time. | |
ACE_Sub_Barrier | sub_barrier_1_ |
ACE_Sub_Barrier | sub_barrier_2_ |
ACE_Sub_Barrier * | sub_barrier_ [2] |
Implements "barrier synchronization" using ACE_Thread_Mutexes!
This class is just a simple wrapper for ACE_Barrier that selects the USYNC_THREAD variant for the locks.
Create a Thread_Barrier, passing in the optional name.
|
default |
Default destructor.
void ACE_Thread_Barrier::dump | ( | ) | const |
Dump the state of an object.
ACE_Thread_Barrier::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.