The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts

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

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

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

Avoiding stack build-up.

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

The tradition continues.

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

Taking things into our own hands.

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

Iterating over a tuple recursively.

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

Trying to iterate over a pack.

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

The usual trick doesn't work.

Jun 26, 2023
Post comments count
5
Post likes count
0
How to wait for multiple C++ coroutines to complete before propagating failure, initial plunge

Remembering the exception while finishing the other work.

Jun 23, 2023
Post comments count
5
Post likes count
3
What can go wrong if you release an SRWLock from a thread different from the one that acquired it?

It's not a supported scenario, so anything can happen.