The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

How to wait for multiple C++ coroutines to complete before propagating failure, wrapping the awaitable
Jul 6, 2023
Post comments count 0
Post likes count 0

How to wait for multiple C++ coroutines to complete before propagating failure, wrapping the awaitable

Raymond Chen
Raymond Chen

Intercepting the exception on the front side.

How to wait for multiple C++ coroutines to complete before propagating failure, preallocating the coroutine frame
Jul 5, 2023
Post comments count 2
Post likes count 0

How to wait for multiple C++ coroutines to complete before propagating failure, preallocating the coroutine frame

Raymond Chen
Raymond Chen

Avoiding dynamic memory allocation.

How to wait for multiple C++ coroutines to complete before propagating failure, memory allocation failure
Jul 4, 2023
Post comments count 2
Post likes count 0

How to wait for multiple C++ coroutines to complete before propagating failure, memory allocation failure

Raymond Chen
Raymond Chen

There's no good way to report the failure, so we just have to give up.

How to wait for multiple C++ coroutines to complete before propagating failure, symmetric transfer
Jul 3, 2023
Post comments count 0
Post likes count 0

How to wait for multiple C++ coroutines to complete before propagating failure, symmetric transfer

Raymond Chen
Raymond Chen

Avoiding stack build-up.

2023 mid-year link clearance
Jun 30, 2023
Post comments count 3
Post likes count 2

2023 mid-year link clearance

Raymond Chen
Raymond Chen

The tradition continues.

How to wait for multiple C++ coroutines to complete before propagating failure, custom promise
Jun 30, 2023
Post comments count 1
Post likes count 0

How to wait for multiple C++ coroutines to complete before propagating failure, custom promise

Raymond Chen
Raymond Chen

Taking things into our own hands.

How to wait for multiple C++ coroutines to complete before propagating failure, peeling away at a tuple
Jun 29, 2023
Post comments count 0
Post likes count 1

How to wait for multiple C++ coroutines to complete before propagating failure, peeling away at a tuple

Raymond Chen
Raymond Chen

Iterating over a tuple recursively.

How to wait for multiple C++ coroutines to complete before propagating failure, false hope
Jun 28, 2023
Post comments count 1
Post likes count 0

How to wait for multiple C++ coroutines to complete before propagating failure, false hope

Raymond Chen
Raymond Chen

Trying to iterate over a pack.

How to wait for multiple C++ coroutines to complete before propagating failure, unhelpful lambda
Jun 27, 2023
Post comments count 0
Post likes count 0

How to wait for multiple C++ coroutines to complete before propagating failure, unhelpful lambda

Raymond Chen
Raymond Chen

The usual trick doesn't work.