This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/50862] deadlock in std::condition_variable_any


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50862

--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-19 00:34:33 UTC ---
Author: redi
Date: Mon Dec 19 00:34:29 2011
New Revision: 182467

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182467
Log:
    PR libstdc++/50862
    * include/std/condition_variable (condition_variable_any::wait): Fix
    deadlock and ensure _Lock::lock() is called on exit.
    * testsuite/30_threads/condition_variable_any/50862.cc: New.

Added:
   
branches/gcc-4_6-branch/libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc
Modified:
    branches/gcc-4_6-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_6-branch/libstdc++-v3/include/std/condition_variable


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