gcc/libstdc++-v3/testsuite/30_threads
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
..
async Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
call_once re PR libstdc++/60497 (unique_ptr<T> tries to complete its type T even though it's not required to be a complete type) 2014-05-13 18:22:08 +01:00
condition_variable re PR target/54407 (FAIL: 30_threads/condition_variable/54185.cc execution test program timed out on powerpc-apple-darwin9 and x86_64-apple-darwin10) 2014-04-02 10:44:40 +02:00
condition_variable_any Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
future Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
headers Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
lock Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
lock_guard Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
mutex Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
once_flag/cons Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
packaged_task re PR libstdc++/60564 ([C++11] The std::packaged_task constructor taking a reference to a functor does not copy its argument.) 2014-03-18 16:31:38 +00:00
promise re PR libstdc++/60966 (std::call_once sometime hangs) 2014-05-17 13:58:46 +01:00
recursive_mutex Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
recursive_timed_mutex Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
shared_future Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
shared_lock Rename shared_mutex to shared_timed_mutex per C++14 acceptance of N3891. 2014-02-20 16:06:40 +00:00
shared_timed_mutex Rename testsuite directory shared_mutex to shared_timed_mutex for consistency. 2014-02-21 14:40:26 +00:00
this_thread Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
thread Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
timed_mutex Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
try_lock Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
unique_lock re PR libstdc++/60497 (unique_ptr<T> tries to complete its type T even though it's not required to be a complete type) 2014-05-13 18:22:08 +01:00