C++ coroutines: Adding COM context support to our awaiter--Raymond Chen

Save to:
Instapaper Pocket Readability

The series continue.

C++ coroutines: Adding COM context support to our awaiter

by Raymond Chen

From the article:

You may want to have awaiters that apply custom resume behavior. For example, in Windows, you are likely to want your awaiter to preserve the COM thread context. For X11 programming, you may want to the awaiter to return to the render thread if the co_await was initiated from the render thread. Today we’ll add the ability to customize the awaiter to our coroutine promise type...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.