12 #ifndef ROOT_TTaskGroup 13 #define ROOT_TTaskGroup 19 namespace Experimental {
TTaskGroup & operator=(TTaskGroup &&other)
Namespace for new ROOT classes and functions.
void Wait()
Wait until all submitted items of work are completed.
std::atomic< bool > fCanRun
void function(const Char_t *name_, T fun, const Char_t *docstring=0)
A class to manage the asynchronous execution of work items.
void Run(const std::function< void(void)> &closure)
Add to the group an item of work which will be ran asynchronously.
void * TaskContainerPtr_t
void Cancel()
Cancel all submitted tasks immediately.
TaskContainerPtr_t fTaskContainer
Shield completely from implementation.