diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-03-22 21:17:01 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-03-23 10:03:03 +0000 |
commit | 5bf59b004808abf6acbfe5ef54a0f9216b8dce22 (patch) | |
tree | 8fb3ed4e3855945db9d3f5aa4cc2f1de81b902ad /libstdc++-v3/include/std/version | |
parent | 4a9e92164a547afcf8cd3fc593c7660238ad2d59 (diff) | |
download | gcc-5bf59b004808abf6acbfe5ef54a0f9216b8dce22.zip gcc-5bf59b004808abf6acbfe5ef54a0f9216b8dce22.tar.gz gcc-5bf59b004808abf6acbfe5ef54a0f9216b8dce22.tar.bz2 |
libstdc++: Disable atomic wait for freestanding [PR105021]
We use either condition variables or futexes to implement atomic waits,
so we can't do it in freestanding. This is non-conforming, so should be
revisited later, probably by making freestanding atomic waiting
operations spin without ever blocking.
Reviewed-by: Thomas Rodgers <trodgers@redhat.com>
libstdc++-v3/ChangeLog:
PR libstdc++/105021
* include/bits/atomic_base.h [!_GLIBCXX_HOSTED]: Do not include
<bits/atomic_wait.h> for freestanding.
Diffstat (limited to 'libstdc++-v3/include/std/version')
0 files changed, 0 insertions, 0 deletions