Hi BrassSlide,
Yes you are correct this question is specific to PPL. A task and a task_group have no knowledge of each other so canceling the task_group won't can the task returned from the function Foo(). If you wanted to group them together you probably use a cancellation_token with both the task and the task_group, they you could cancel them all in one go.
Steve
Yes you are correct this question is specific to PPL. A task and a task_group have no knowledge of each other so canceling the task_group won't can the task returned from the function Foo(). If you wanted to group them together you probably use a cancellation_token with both the task and the task_group, they you could cancel them all in one go.
Steve