Public Member Functions | |
| TaskGroup & | operator+= (const Task< RT > &t) |
| void | join_all () const |
Private Attributes | |
| std::list< Task< RT > > | tasks |
| TaskGroup& Threads::TaskGroup< RT >::operator+= | ( | const Task< RT > & | t | ) | [inline] |
Add another task object to the collection.
| void Threads::TaskGroup< RT >::join_all | ( | ) | const [inline] |
Wait for all tasks in the collection to finish. It is not a problem if some of them have already been waited for, i.e. you may call this function more than once, and you can also add new task objects between subsequent calls to this function if you want.
Referenced by WorkStream::internal::IteratorRangeToItemStream< Iterator, ScratchData, CopyData >::IteratorRangeToItemStream().
std::list<Task<RT> > Threads::TaskGroup< RT >::tasks [private] |
List of task objects.
documentation generated on Sun Sep 5 23:07:03 2010 by
doxygen
1.5.6