On the finer points of cancelling timers and wait objects in Windows thread pool April 28, 2023 Apr 28, 2023 04/28/23 Raymond Chen Assorted little details.
What’s up with this new memory_order_consume memory order? April 27, 2023 Apr 27, 2023 04/27/23 Raymond Chen A weaker variation of acquire.
One way to defer work when a re-entrant call is detected April 26, 2023 Apr 26, 2023 04/26/23 Raymond Chen Tying a string on your finger, as a reminder to yourself.
A code comment noting the steps to take when a 256th enum field is added April 25, 2023 Apr 25, 2023 04/25/23 Raymond Chen A note for my future self.
Why is std::hardware_destructive_interference_size a compile-time constant instead of a run-time value? April 24, 2023 Apr 24, 2023 04/24/23 Raymond Chen The compiler is already making compile-time assumptions about the processor; you just don't realize it.
Protecting a broker from a failing delegate April 21, 2023 Apr 21, 2023 04/21/23 Raymond Chen Catching them in a different way.
Protecting a broker from a failing event handler April 20, 2023 Apr 20, 2023 04/20/23 Raymond Chen Gotta catch them all.
The case of the unhandled exception in a brokered Windows Runtime component April 19, 2023 Apr 19, 2023 04/19/23 Raymond Chen Digging into the event dispatch code.
No, it is not a security vulnerability that there is no certificate of appreciation for reporting a bug April 18, 2023 Apr 18, 2023 04/18/23 Raymond Chen It wasn't even a bug report.
How can I find the invalid class when C++/WinRT tells me that the class may not be final? April 17, 2023 Apr 17, 2023 04/17/23 Raymond Chen It's in the error details.