xlock.cpp
: Should we use SRWLOCK
instead of CRITICAL_SECTION
?
#3521
Labels
performance
Must go faster
In #2317, MSVC STL dropped support for Windows Vista and make
SRWLOCK
unconditionally used formutex
. However, there're still some implementation details usingCRITICAL_SECTION
, all of which can be found inxlock.cpp
(viaxmtx.hpp
andxmtx.cpp
).It seems that switching to
SRWLOCK
doesn't affect ABI (as support for Vista has been dropped). Should we do this?The text was updated successfully, but these errors were encountered: