Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Thread_Barrier Class Reference

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

#include <Synch.h>

Inheritance diagram for ACE_Thread_Barrier:

Inheritance graph
[legend]
Collaboration diagram for ACE_Thread_Barrier:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_Thread_Barrier (u_int count, const ACE_TCHAR *name=0)
 Create a Thread_Barrier, passing in the optional <name>. More...

 ~ACE_Thread_Barrier (void)
 Default dtor. More...

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


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...


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 1661 of file Synch.h.


Constructor & Destructor Documentation

ACE_Thread_Barrier::ACE_Thread_Barrier u_int    count,
const ACE_TCHAR   name = 0
 

Create a Thread_Barrier, passing in the optional <name>.

Definition at line 773 of file Synch.cpp.

References ACE_TCHAR.

00774   : ACE_Barrier (count, name)
00775 {
00776 // ACE_TRACE ("ACE_Thread_Barrier::ACE_Thread_Barrier");
00777 }

ACE_Thread_Barrier::~ACE_Thread_Barrier void   
 

Default dtor.


Member Function Documentation

void ACE_Thread_Barrier::dump void    const
 

Dump the state of an object.

Reimplemented from ACE_Barrier.

Definition at line 780 of file Synch.cpp.

References ACE_Barrier::dump.

00781 {
00782 // ACE_TRACE ("ACE_Thread_Barrier::dump");
00783   ACE_Barrier::dump ();
00784 }


Member Data Documentation

ACE_Thread_Barrier::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_Barrier.

Definition at line 1674 of file Synch.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:57:26 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002