That should be fine indeed. I just don't want the task to start "right now" as 
SerialTaskGroup::AppendReal() seems to be doing. 

> Le 4 janv. 2019 à 13:38, Antoine Pitrou <anto...@python.org> a écrit :
> 
> 
> Le 04/01/2019 à 12:24, Romain Francois a écrit :
>> 
>> I guess that just means I need some way to hold the tasks before they go in 
>> the task groups. 
> 
> You can make the task a lambda function which will capture the necessary
> data by value (such as any shared_ptr pointing to the data the task
> will operate on).
> 
> Regards
> 
> Antoine.

Reply via email to