The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Mar 29, 2019
Post comments count 5
Post likes count 1

C++/WinRT envy: Bringing thread switching tasks to C# (WPF and WinForms edition)

Raymond Chen

More magic tasks that break out of the thread configuration mold.

Mar 28, 2019
Post comments count 20
Post likes count 2

C++/WinRT envy: Bringing thread switching tasks to C# (UWP edition)

Raymond Chen

Magic tasks that break out of the thread configuration mold.

Mar 27, 2019
Post comments count 5
Post likes count 1

How do I wait for the completion of the delegate I passed to Core­Dispatcher.Run­Async and Thread­Pool.Run­Async?

Raymond Chen

You'll need your own signal.

Mar 26, 2019
Post comments count 2
Post likes count 0

When do Core­Dispatcher.Run­Async and Thread­Pool.Run­Async actions complete?

Raymond Chen

When the delegate returns, not when it completes.

Mar 25, 2019
Post comments count 6
Post likes count 1

What does the N in nmake stand for?

Raymond Chen

It's old now, but at the time, it was new.

Mar 22, 2019
Post comments count 0
Post likes count 0

Vintage Computer Festival Pacific Northwest 2019

Raymond Chen

For all your retro-computing gawking.

Mar 22, 2019
Post comments count 3
Post likes count 1

Turning anything into a fire-and-forget coroutine

Raymond Chen

Turning on the metaprogramming.

Mar 21, 2019
Post comments count 3
Post likes count 1

Expressing fire-and-forget coroutines more explicitly, -or- How to turn any coroutine into fire-and-forget

Raymond Chen

Putting it at the call site instead of in the function itself.

Mar 20, 2019
Post comments count 3
Post likes count 1

winrt::fire_and_forget was too forgetful

Raymond Chen

Usually, you don't care when it finishes, as long as it does.