http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50862
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-25 20:56:47 UTC --- Author: redi Date: Tue Oct 25 20:56:43 2011 New Revision: 180446 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180446 Log: 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. Added: trunk/libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/std/condition_variable