Skip to content

Share implementation between std::atomic::wait for P1135R6 (#52) and parallel_algorithms.cpp #598

Description

parallel_algorithms.cpp uses specific case of wait-on-address, which waits on one byte.

As Billy O'Neal (@BillyONeal) pointed out, it makes sense to switch it to generic implementation, when such generic implementation is ready.

Even though new generic implementation would be almost identical (except that it would handle odd atomic sizes), it makes sense to switch to generic one to avoid duplication.

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