Skip to content

<mutex>: mutex and condition_variable could provide native_handle() again #3820

Description

#3770 is removing the useless implementations of native_handle() in mutex (et al.) and condition_variable.

We could restore them to return void* pointing to the underlying SRWLOCK and CONDITION_VARIABLE, now that we know that this machinery is always used. (It would be permanently "punching through" to the DLL/LIB's representation.)

Remember to restore the minimal test coverage of native_handle() in tests/std/tests/Dev11_1150223_shared_mutex/test.cpp.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSomething can be improved

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions