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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 25 13:00:00 GMT 2011


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.3

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-25 13:00:19 UTC ---
The patch isn't sufficient because of this requirement in the standard:
"If the function exits via an exception, lock.lock() shall be called prior to
exiting the function scope."

I'll commit a fix this evening.



More information about the Gcc-bugs mailing list