OSDN Git Service

PR libstdc++/50862
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Oct 2011 20:56:43 +0000 (20:56 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Oct 2011 20:56:43 +0000 (20:56 +0000)
commit16ec0602fb1913644bd05e0a783d6f00b517d840
tree201d9eec3a0568d6f71da657a7ffbf00b75b7263
parentf7ac4170bd859ce6e24e8ca0779554efa840ecdd
PR libstdc++/50862
* include/std/condition_variable (condition_variable_any::wait): Fix
deadlock and ensure _Lock::lock() is called on exit.
(condition_variable_any::native_handle): Remove, as per LWG 1500.
* testsuite/30_threads/condition_variable_any/50862.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180446 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/condition_variable
libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc [new file with mode: 0644]