#include <synchro.h>
Public Types | |
typedef thread_copy< ThrMain > | head_thread_type |
typedef void | iterator |
typedef void | iter_thread_type |
Public Member Functions | |
thread_tree (const ThrMain &thrMain) | |
The head thread is copied. | |
thread_tree< void, void > | sub_tree (void) const |
This returns the same tree without the top-level thread. | |
head_thread_type * | head (void) const |
Same interface whether the head-thread is a pointer or a copy. | |
Private Attributes | |
head_thread_type * | _ptrThr |
This object will destroy itself after a join, in future::sync_end. |
typedef thread_copy<ThrMain> rpa::thread_tree< void, ThrMain >::head_thread_type |
typedef void rpa::thread_tree< void, ThrMain >::iter_thread_type |
typedef void rpa::thread_tree< void, ThrMain >::iterator |
rpa::thread_tree< void, ThrMain >::thread_tree | ( | const ThrMain & | thrMain | ) | [inline] |
The head thread is copied.
head_thread_type* rpa::thread_tree< void, ThrMain >::head | ( | void | ) | const [inline] |
Same interface whether the head-thread is a pointer or a copy.
thread_tree<void,void> rpa::thread_tree< void, ThrMain >::sub_tree | ( | void | ) | const [inline] |
This returns the same tree without the top-level thread.
head_thread_type* rpa::thread_tree< void, ThrMain >::_ptrThr [private] |
This object will destroy itself after a join, in future::sync_end.