re PR libstdc++/50862 (deadlock in std::condition_variable_any)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Wed, 26 Oct 2011 23:35:26 +0000 (23:35 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 26 Oct 2011 23:35:26 +0000 (00:35 +0100)
commit28c2f60e96a3dd100a85b32a91f7a1c0c408fd39
tree4de7ba84aabea654f1cca3e126a6eb5536cacd38
parente7604cc480cbd0ab46d3e879fbab34a0fc702d7c
re PR libstdc++/50862 (deadlock in std::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.

From-SVN: r180549
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/condition_variable
libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc