diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-11-25 14:39:54 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-11-25 18:24:12 +0000 |
commit | f76cad692a62d44ed32d010200bad74f36c73092 (patch) | |
tree | cf0518348b70483e8109c36632127e8a2c5d7edd /gcc/fortran/resolve.c | |
parent | aec2d6849160f92cd45f97d6c3bdd8808ab01fa6 (diff) | |
download | gcc-f76cad692a62d44ed32d010200bad74f36c73092.zip gcc-f76cad692a62d44ed32d010200bad74f36c73092.tar.gz gcc-f76cad692a62d44ed32d010200bad74f36c73092.tar.bz2 |
libstdc++: Fix testsuite helper functions [PR 97936]
This fixes a race condition in the util/atomic/wait_notify_util.h header
used by several tests, which should make the tests work properly.
libstdc++-v3/ChangeLog:
PR libstdc++/97936
* testsuite/29_atomics/atomic/wait_notify/bool.cc: Re-eneable
test.
* testsuite/29_atomics/atomic/wait_notify/generic.cc: Likewise.
* testsuite/29_atomics/atomic/wait_notify/pointers.cc: Likewise.
* testsuite/29_atomics/atomic_flag/wait_notify/1.cc: Likewise.
* testsuite/29_atomics/atomic_float/wait_notify.cc: Likewise.
* testsuite/29_atomics/atomic_integral/wait_notify.cc: Likewise.
* testsuite/util/atomic/wait_notify_util.h: Fix missed
notifications by making the new thread wait until the parent
thread is waiting on the condition variable.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions