aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-01-18 21:15:05 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-01-19 00:58:21 +0000
commitc3861f79859d96777f86a24261fe639538fd2e1c (patch)
treec3b10095322d8b1e32c51dd05da50af262f35511 /gcc/bitmap.cc
parent7a761ae658967dab59dca691373e3ea10707217a (diff)
downloadgcc-c3861f79859d96777f86a24261fe639538fd2e1c.zip
gcc-c3861f79859d96777f86a24261fe639538fd2e1c.tar.gz
gcc-c3861f79859d96777f86a24261fe639538fd2e1c.tar.bz2
libstdc++: Fix std::atomic<std::shared_ptr<T>> for AIX [PR104101]
This fixes an on AIX. The lock function currently just spins, which should be changed to use back-off, and maybe then _M_val.wait(__current) when supported. libstdc++-v3/ChangeLog: PR libstdc++/104101 * include/bits/shared_ptr_atomic.h (_Sp_atomic::_Atomic_count::lock): Only use __thread_relax if __cpp_lib_atomic_wait is defined.
Diffstat (limited to 'gcc/bitmap.cc')
0 files changed, 0 insertions, 0 deletions