[Bug libstdc++/60966] std::call_once sometime hangs

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 9 14:41:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60966

--- Comment #33 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Jan  9 14:40:46 2015
New Revision: 219394

URL: https://gcc.gnu.org/viewcvs?rev=219394&root=gcc&view=rev
Log:
    PR libstdc++/60966
    * include/std/future (packaged_task::operator()): Increment the
    reference count on the shared state until the function returns.

Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/include/std/future



More information about the Gcc-bugs mailing list