Apr 2, 2018 Post comments count0 Post likes count0 The MIPS R4000, part 1: Introduction Raymond Chen Here we go again.
Mar 30, 2018 Post comments count0 Post likes count1 How do I choose between the strong and weak versions of compare-exchange? Raymond Chen It depends on how bad a spurious failure is for your algorithm.
Mar 29, 2018 Post comments count0 Post likes count1 What’s up with compare_exchange_weak anyway? Raymond Chen It's handy for certain classes of processors.
Mar 28, 2018 Post comments count0 Post likes count1 When I memcpy a struct into a std::atomic of that struct, why does the result not match? Raymond Chen You're storing it wrong.
Mar 8, 2018 Post comments count0 Post likes count1 What’s the difference between CreateTimerQueueTimer and SetThreadpoolTimer? Raymond Chen They are both the same thing under the covers.
Mar 7, 2018 Post comments count0 Post likes count1 When MSDN says NULL, is it okay to use nullptr? Raymond Chen One of many equivalent formulations.
Mar 2, 2018 Post comments count0 Post likes count1 If I call GetExitCodeThread for a thread that I know for sure has exited, why does it still say STILL_ACTIVE? Raymond Chen Because that's not the thread handle you think it is.
Feb 23, 2018 Post comments count0 Post likes count1 How do I make sure that my shell extension is at the top of the context menu? Raymond Chen The battle for absolute supremacy continues.
Feb 22, 2018 Post comments count0 Post likes count1 Why does IsPathRelative return FALSE for paths that are drive-relative? Raymond Chen It's complicated.
Feb 21, 2018 Post comments count0 Post likes count1 How can I call freopen but open the file with shared access instead of exclusive access? Raymond Chen Coming through the back way.