gcc/libstdc++-v3/testsuite/30_threads/promise
Jonathan Wakely a0eaa08ceb re PR libstdc++/60966 (std::call_once sometime hangs)
PR libstdc++/60966
	* include/std/future (__future_base::_State_baseV2::_M_set_result):
	Pass lock into _M_do_set and hold it until the function returns.
	Signal condition variable after call_once completes.
	(__future_base::_State_baseV2::_M_do_set): Use lock argument. Do not
	signal here.
	* testsuite/30_threads/promise/60966.cc: New.

From-SVN: r210556
2014-05-17 13:58:46 +01:00
..
cons Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
members Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
requirements Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
60966.cc re PR libstdc++/60966 (std::call_once sometime hangs) 2014-05-17 13:58:46 +01:00
uses_allocator.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00