Why does my program crash if I terminate a thread that is waiting to enter a critical section? It never got the critical section, so who cares?
But we care that it's still waiting.
Breaking news from around the world Get the Bing + MSN extension

But we care that it's still waiting.

Another prank from the user interface team.

Minding your character set.

That stuff is now happening on your thread.

They've heard them all.

FormatMessage say that %0 terminates the message without a trailing newline? Is it secretly adding newlines? Well, it's not FormatMessage that's adding the newline.

Get the stack before it unwinds.

Switching between things, but different things.

Because there might be a file hiding under it.
Uncategorized

But we care that it's still waiting.

Another prank from the user interface team.

Minding your character set.

That stuff is now happening on your thread.

They've heard them all.

FormatMessage say that %0 terminates the message without a trailing newline? Is it secretly adding newlines? Well, it's not FormatMessage that's adding the newline.

Get the stack before it unwinds.

Switching between things, but different things.

Because there might be a file hiding under it.