Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Cancel Inner Task in task_group.run

$
0
0
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

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>