#include <Synch.h>
Collaboration diagram for ACE_Sub_Barrier:

Public Methods | |
| ACE_Sub_Barrier (u_int count, ACE_Thread_Mutex &lock, const ACE_TCHAR *name=0, void *arg=0) | |
| ~ACE_Sub_Barrier (void) | |
| void | dump (void) const |
| Dump the state of an object. More... | |
Public Attributes | |
| ACE_Condition_Thread_Mutex | barrier_finished_ |
| True if this generation of the barrier is done. More... | |
| int | running_threads_ |
| Number of threads that are still running. More... | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
|
||||||||||||||||||||
|
Definition at line 695 of file Synch.cpp. References ACE_TCHAR.
00699 : barrier_finished_ (lock, name, arg), 00700 running_threads_ (count) 00701 { 00702 // ACE_TRACE ("ACE_Sub_Barrier::ACE_Sub_Barrier"); 00703 } |
|
|
|
|
|
Dump the state of an object.
Definition at line 684 of file Synch.cpp. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, barrier_finished_, ACE_Condition_Thread_Mutex::dump, and LM_DEBUG. Referenced by ACE_Barrier::dump.
00685 {
00686 // ACE_TRACE ("ACE_Sub_Barrier::dump");
00687
00688 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00689 this->barrier_finished_.dump ();
00690 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("running_threads_ = %d"), this->running_threads_));
00691 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\n")));
00692 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00693 }
|
|
|
Declare the dynamic allocation hooks.
|
|
|
True if this generation of the barrier is done.
Definition at line 1527 of file Synch.h. Referenced by dump, and ACE_Barrier::wait. |
|
|
Number of threads that are still running.
Definition at line 1530 of file Synch.h. Referenced by ACE_Barrier::wait. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002