gcc/libstdc++-v3/include
Jonathan Wakely f2f08be7ea re PR libstdc++/49204 ([C++0x] remaining issues in <future>)
PR libstdc++/49204
	* include/std/future (__future_base::_State_base): Rename to
	__future_base::_State_baseV2.
	(__future_base::_State_baseV2::~_State_baseV2): Define as defaulted.
	(__future_base::_State_baseV2::_M_run_deferred): Rename to
	_M_complete_async.
	(__future_base::_State_baseV2::_M_has_deferred): Add new virtual.
	(__future_base::_State_baseV2::wait_for): Call _M_has_deferred() to
	test for a deferred function, or call _M_complete_async() to join an
	async thread that has made the shared state ready.
	(__future_base::_State_baseV2::wait_until): Likewise.
	(__future_base::_Async_state_common): Rename to _Async_state_commonV2.
	(__future_base::_Async_state_commonV2::_M_run_deferred): Rename to
	_M_complete_async.
	* src/c++11/compatibility-thread-c++0x.cc (__future_base::_State_base):
	Export old definition.
	(__future_base::_Async_state_common): Likewise.
	* src/c++11/future.cc (__future_base::_State_base::~_State_base):
	Remove.
	* doc/xml/manual/status_cxx2011.xml: Update status.
	* testsuite/30_threads/async/async.cc: Test future_status::timeout
	and future_status::ready.
	* testsuite/30_threads/async/sync.cc: Test future_status::deferred.

From-SVN: r205144
2013-11-20 20:59:19 +00:00
..
backward
bits shared_ptr_base.h (_Sp_counted_base<_S_single>): Use non-atomic operations. 2013-11-18 13:52:39 +00:00
c
c_compatibility
c_global re PR libstdc++/58952 (Construct "std::getchar()" rejected when getchar is macro in C library) 2013-11-01 11:10:55 +00:00
c_std
debug safe_iterator.h (_BeforeBeginHelper<>::_S_Is): Take only a const safe iterator reference. 2013-11-08 21:03:58 +00:00
decimal re PR libstdc++/58815 (Casting/Conversion operator for std::decimal not supported) 2013-10-23 11:48:26 +00:00
experimental string_view (_S_max_size): Remove. 2013-11-19 15:45:15 +00:00
ext re PR c++/59173 (Alias template in partial specialization finds name from primary template) 2013-11-20 13:39:33 +00:00
parallel algobase.h (mismatch, equal): Provide parallel version for N3671 overloads. 2013-10-01 19:35:01 +00:00
precompiled
profile re PR libstdc++/58338 (Add noexcept to functions with a narrow contract) 2013-09-25 20:28:12 +00:00
std re PR libstdc++/49204 ([C++0x] remaining issues in <future>) 2013-11-20 20:59:19 +00:00
tr1
tr2 re PR libstdc++/58804 (dynamic_bitset<> uses popcountl on long long) 2013-10-21 13:52:39 +00:00
Makefile.am Implement N3762 string_view: a non-owning reference to a string. 2013-11-16 17:44:48 +00:00
Makefile.in Implement N3762 string_view: a non-owning reference to a string. 2013-11-16 17:44:48 +00:00