The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Function overloading is more flexible (and more convenient) than template function specialization
Apr 10, 2025
Post comments count 0
Post likes count 0

Function overloading is more flexible (and more convenient) than template function specialization

Raymond Chen
Raymond Chen

You can change more things in an overload.

Why can’t I use <CODE>SEC_<WBR>LARGE_<WBR>PAGES</CODE> with a file-based file mapping?
Apr 9, 2025
Post comments count 2
Post likes count 0

Why can’t I use SEC_LARGE_PAGES with a file-based file mapping?

Raymond Chen
Raymond Chen

No paging, no crying.

The Goldilocks zone of software stability
Apr 8, 2025
Post comments count 7
Post likes count 1

The Goldilocks zone of software stability

Raymond Chen
Raymond Chen

Not too new, not too old.

On priority inversion in the use of a spinlock to ensure atomic access to a <CODE>shared_ptr</CODE>
Apr 7, 2025
Post comments count 4
Post likes count 2

On priority inversion in the use of a spinlock to ensure atomic access to a shared_ptr

Raymond Chen
Raymond Chen

Priority inversion may be rare, but correctness doesn't care about rarity.

Adding delays to our task sequencer, part 3
Apr 4, 2025
Post comments count 5
Post likes count 0

Adding delays to our task sequencer, part 3

Raymond Chen
Raymond Chen

Waiting more cheaply.

Adding delays to our task sequencer, part 2
Apr 3, 2025
Post comments count 0
Post likes count 1

Adding delays to our task sequencer, part 2

Raymond Chen
Raymond Chen

Waiting the right amount of time.

Adding delays to our task sequencer, part 1
Apr 2, 2025
Post comments count 0
Post likes count 1

Adding delays to our task sequencer, part 1

Raymond Chen
Raymond Chen

Not so fast there.

The return of Building 7
Apr 1, 2025
Post comments count 1
Post likes count 1

The return of Building 7

Raymond Chen
Raymond Chen

Pranksters lose one of their longtime inside jokes.

If one program blocks shutdown, then <I>all</I> programs block shutdown, revisited
Mar 31, 2025
Post comments count 12
Post likes count 1

If one program blocks shutdown, then all programs block shutdown, revisited

Raymond Chen
Raymond Chen

No take-backs.