Why did CRITICAL_SECTION performance become worse on Win8
问题 It seems like CRITICAL_SECTION performance became worse on Windows 8 and higher. (see graphs below) The test is pretty simple: some concurrent threads do 3 million locks each to access a variable exclusively. You can find the C++ program at the bottom of the question. I run the test on Windows Vista, Windows 7, Windows 8, Windows 10 (x64, VMWare, Intel Core i7-2600 3.40GHz). The results are on the image below. The X-axis is the number of concurrent threads. The Y-axis is the elapsed time in