Commit 00f64ccb authored by Arthur O'Dwyer's avatar Arthur O'Dwyer Committed by Louis Dionne
Browse files

[libc++] Remove non-atomic "platform" semaphore implementations.

These can't be made constexpr-constructible (constinit'able),
so they aren't C++20-conforming. Also, the platform versions are
going to be bigger than the atomic/futex version, so we'd have
the awkward situation that `semaphore<42>` could be bigger than
`semaphore<43>`, and that's just silly.

Differential Revision: https://reviews.llvm.org/D110110

(cherry picked from commit d0eaf753)

CHERRY-PICK NOTE BY @ldionne:
I added a release note mentioning the ABI break.
parent 6cf25dee
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment