Skip to content

xlock.cpp: Should we use SRWLOCK instead of CRITICAL_SECTION? #3521

@frederick-vs-ja

Description

@frederick-vs-ja

In #2317, MSVC STL dropped support for Windows Vista and make SRWLOCK unconditionally used for mutex. However, there're still some implementation details using CRITICAL_SECTION, all of which can be found in xlock.cpp (via xmtx.hpp and xmtx.cpp).

It seems that switching to SRWLOCK doesn't affect ABI (as support for Vista has been dropped). Should we do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions