ACE_Thread_Barrier Class Reference

Implements "barrier synchronization" using ACE_Thread_Mutexes! More...

#include <Barrier.h>

Inheritance diagram for ACE_Thread_Barrier:

Inheritance graph
[legend]
Collaboration diagram for ACE_Thread_Barrier:

Collaboration graph
[legend]
List of all members.

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 (void)
 Default dtor.

void dump (void) const
 Dump the state of an object.


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.


Detailed Description

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.

Definition at line 189 of file Barrier.h.


Constructor & Destructor Documentation

ACE_Thread_Barrier::ACE_Thread_Barrier unsigned int  count,
const ACE_TCHAR name = 0
 

Create a Thread_Barrier, passing in the optional name.

Definition at line 159 of file Barrier.cpp.

References ACE_TCHAR.

00161   : ACE_Barrier (count, name)
00162 {
00163 // ACE_TRACE ("ACE_Thread_Barrier::ACE_Thread_Barrier");
00164 }

ACE_INLINE ACE_Thread_Barrier::~ACE_Thread_Barrier void   ) 
 

Default dtor.

Definition at line 18 of file Barrier.inl.

00019 {
00020 }


Member Function Documentation

void ACE_Thread_Barrier::dump void   )  const
 

Dump the state of an object.

Reimplemented from ACE_Barrier.

Definition at line 167 of file Barrier.cpp.

References ACE_Barrier::dump().

00168 {
00169 #if defined (ACE_HAS_DUMP)
00170 // ACE_TRACE ("ACE_Thread_Barrier::dump");
00171   ACE_Barrier::dump ();
00172 #endif /* ACE_HAS_DUMP */
00173 }


Member Data Documentation

ACE_Thread_Barrier::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_Barrier.

Definition at line 202 of file Barrier.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:30:49 2006 for ACE by doxygen 1.3.6