Public Member Functions | |
tst_unbounded_alloc (const ThrTree &aThrTree, IterBuf aIterBuf) | |
const char * | what (void) const |
template<class RangeT> | |
void | operator() (const RangeT &aRng, ObjT::CounterT expectedCount, ListObjT &aLstOfObjs) |
rpa::thr_nb_t | thrs (void) const |
Number of threads. | |
Private Attributes | |
ThrTree | _ThrTree |
IterBuf | _IterBuf |
tst_unbounded_alloc< ThrTree, IterBuf >::tst_unbounded_alloc | ( | const ThrTree & | aThrTree, | |
IterBuf | aIterBuf | |||
) | [inline] |
void tst_unbounded_alloc< ThrTree, IterBuf >::operator() | ( | const RangeT & | aRng, | |
ObjT::CounterT | expectedCount, | |||
ListObjT & | aLstOfObjs | |||
) | [inline] |
* 'obuf_iterator' does the same as 'back_inserter', but allows more parallelization. 'make_thread_tree' creates, out of any threads iterator, a 'thread_tree' object which is necessary for parallel execution. No mutex is necessary because the buffers have an unlimited size and will be flushed at the end of the execution.
rpa::thr_nb_t tst_unbounded_alloc< ThrTree, IterBuf >::thrs | ( | void | ) | const [inline] |
Number of threads.
const char* tst_unbounded_alloc< ThrTree, IterBuf >::what | ( | void | ) | const [inline] |
IterBuf tst_unbounded_alloc< ThrTree, IterBuf >::_IterBuf [private] |
ThrTree tst_unbounded_alloc< ThrTree, IterBuf >::_ThrTree [private] |