PR libstdc++/50862
commit277a5aebe0ed91e9cbefb40966e235daba0f1728
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Oct 2011 23:35:26 +0000 (26 23:35 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Oct 2011 23:35:26 +0000 (26 23:35 +0000)
tree4de7ba84aabea654f1cca3e126a6eb5536cacd38
parent89dae0c084c32a94775b458b6c0dd682ba80e3ad
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180549 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/condition_variable
libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc