This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++/50862 fix deadlock in condition_variable_any


        PR libstdc++/50862
        * include/std/condition_variable (condition_variable_any::wait): Avoid
        terminating if relocking user mutex throws during stack-unwinding.
        * testsuite/30_threads/condition_variable_any/50862.cc: Add dg-require.

Fixes two more issues pointed out in the PR comments.

Tested x86_64-linux, committed to trunk.

Attachment: 50862-2.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]