Skip to content

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

@AlexGuteniev

Description

@AlexGuteniev

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

As @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.

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