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

Public Member Functions | |
| ACE_Sub_Barrier (unsigned 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. | |
Public Attributes | |
| ACE_Condition_Thread_Mutex | barrier_finished_ |
| True if this generation of the barrier is done. | |
| int | running_threads_ |
| Number of threads that are still running. | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. | |
|
||||||||||||||||||||
|
Definition at line 40 of file Barrier.cpp. References ACE_TCHAR.
00044 : barrier_finished_ (lock, name, arg), 00045 running_threads_ (count) 00046 { 00047 // ACE_TRACE ("ACE_Sub_Barrier::ACE_Sub_Barrier"); 00048 } |
|
|
Definition at line 8 of file Barrier.inl.
00009 {
00010 }
|
|
|
Dump the state of an object.
Definition at line 27 of file Barrier.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().
00028 {
00029 #if defined (ACE_HAS_DUMP)
00030 // ACE_TRACE ("ACE_Sub_Barrier::dump");
00031
00032 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00033 this->barrier_finished_.dump ();
00034 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("running_threads_ = %d"), this->running_threads_));
00035 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\n")));
00036 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00037 #endif /* ACE_HAS_DUMP */
00038 }
|
|
|
Declare the dynamic allocation hooks.
|
|
|
True if this generation of the barrier is done.
Definition at line 67 of file Barrier.h. Referenced by dump(), ACE_Barrier::shutdown(), and ACE_Barrier::wait(). |
|
|
Number of threads that are still running.
Definition at line 70 of file Barrier.h. Referenced by ACE_Barrier::shutdown(), and ACE_Barrier::wait(). |
1.3.6