Creating a task completion source for a C++ coroutine: Producing a result--Raymond Chen
The series continue.
Creating a task completion source for a C++ coroutine: Producing a result
by Raymond Chen
From the article:
We’ve been looking at creating different types of awaitable synchronization objects. This time, we’ll create something analogous to what C# calls a TaskCompletionSource and what PPL calls a task_completion_event. For lack of a better name, I’m going to call it a result_holder...