The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Won’t waiting for multiple threads one at a time introduce a severe performance issue?
Dec 5, 2024
Post comments count 1
Post likes count 2

Won’t waiting for multiple threads one at a time introduce a severe performance issue?

Raymond Chen
Raymond Chen

It depends on how long you plan on waiting.

Why does my DLL reference count go up by one every time I create and exit a thread?
Dec 4, 2024
Post comments count 0
Post likes count 2

Why does my DLL reference count go up by one every time I create and exit a thread?

Raymond Chen
Raymond Chen

If you use a wrapper, you need to follow the wrapper's rules.

Tricks from product support: We’re not smart enough to debug the problem, can you help us?
Dec 3, 2024
Post comments count 2
Post likes count 2

Tricks from product support: We’re not smart enough to debug the problem, can you help us?

Raymond Chen
Raymond Chen

It's not you, it's me.

News flash: Desire for loud cars correlates with psychopathy and sadism
Dec 2, 2024
Post comments count 1
Post likes count 4

News flash: Desire for loud cars correlates with psychopathy and sadism

Raymond Chen
Raymond Chen

More research into loud vehicles.

An analogy about register preservation rules in calling conventions
Dec 2, 2024
Post comments count 5
Post likes count 1

An analogy about register preservation rules in calling conventions

Raymond Chen
Raymond Chen

And tying it back to unwind codes.

Assessing the attack complexity of a race condition security vulnerability
Nov 29, 2024
Post comments count 1
Post likes count 0

Assessing the attack complexity of a race condition security vulnerability

Raymond Chen
Raymond Chen

It's not just how small the race window is, but how easy it is to hit the window.

Why does my program successfully take foreground only when running under the debugger?
Nov 28, 2024
Post comments count 0
Post likes count 2

Why does my program successfully take foreground only when running under the debugger?

Raymond Chen
Raymond Chen

That's a special exception to the normal foreground rules.

Checking whether a URI refers to a Web site root
Nov 27, 2024
Post comments count 0
Post likes count 0

Checking whether a URI refers to a Web site root

Raymond Chen
Raymond Chen

Let somebody else do the parsing.

Microspeak: Real estate and Airspace
Nov 26, 2024
Post comments count 0
Post likes count 0

Microspeak: Real estate and Airspace

Raymond Chen
Raymond Chen

Space on the screen and negotiating control over it.