https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97936

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:10522ed1089277e2aa6cd708205aa5c730179cf0

commit r11-5447-g10522ed1089277e2aa6cd708205aa5c730179cf0
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Nov 26 12:55:47 2020 +0000

    libstdc++: Fix some more deadlocks in tests [PR 97936]

    The missed notifications fixed in r11-5383 also happen in some other
    tests which have similar code.

    libstdc++-v3/ChangeLog:

            PR libstdc++/97936
            * testsuite/29_atomics/atomic/wait_notify/bool.cc: Fix missed
            notifications by making the new thread wait until the parent
            thread is waiting on the condition variable.
            * testsuite/29_atomics/atomic/wait_notify/pointers.cc: Likewise.
            * testsuite/29_atomics/atomic_flag/wait_notify/1.cc: Likewise.
            * testsuite/29_atomics/atomic_ref/wait_notify.cc: Likewise.

Reply via email to