gcc/libstdc++-v3/include/std
Jonathan Wakely aa66b299c8 re PR libstdc++/52680 (std::this_thread::sleep_for #ifdef'd out by _GLIBCXX_USE_NANOSLEEP)
PR libstdc++/52680
	* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Check for usleep and
	sleep if nanosleep is not available. Bump libtool revision.
	* config.h.in: Regenerate.
	* configure: Likewise.
	* config/abi/pre/gnu.ver (GLIBCXX_3.4.18): Add __sleep_for.
	* include/std/thread (this_thread::__sleep_for): Add.
	(this_thread::yield, this_thread::sleep_until, this_thread::sleep_for):
	Declare unconditionally.
	* src/c++11/thread.cc (this_thread::__sleep_for): Define.
	* testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Rename to
	check_v3_target_sleep.
	* testsuite/lib/dg-options.exp (dg-require-nanosleep): Rename to
	dg-require-sleep.
	* testsuite/30_threads/condition_variable_any/53830.cc: Update.
	* testsuite/30_threads/this_thread/2.cc: Likewise.
	* testsuite/30_threads/this_thread/3.cc: Likewise.
	* testsuite/30_threads/this_thread/4.cc: Likewise.
	* testsuite/30_threads/async/54297.cc: Likewise.

From-SVN: r193769
2012-11-23 22:11:23 +00:00
..
algorithm
array re PR libstdc++/55363 (tuple_size is not a class template) 2012-11-17 12:09:58 +00:00
atomic * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
bitset * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
chrono * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
complex * include/std/complex (real, imag): Add ABI tag in C++11 mode. 2012-11-12 12:51:26 -05:00
condition_variable re PR libstdc++/53841 ([C++11] condition_variable::wait_until() fails with high resolution clocks) 2012-11-15 01:38:17 +00:00
deque
forward_list * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
fstream * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
functional stl_algo.h (reverse_copy): Update comment per DR 2074. 2012-11-19 22:28:00 +00:00
future stl_algo.h (reverse_copy): Update comment per DR 2074. 2012-11-19 22:28:00 +00:00
iomanip * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
ios
iosfwd
iostream
istream * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
iterator
limits * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
list
locale
map
memory * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
mutex * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
numeric
ostream * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
queue
random * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
ratio * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
regex * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
scoped_allocator stl_algo.h (reverse_copy): Update comment per DR 2074. 2012-11-19 22:28:00 +00:00
set
sstream re PR libstdc++/44015 (template parameters not documented) 2012-05-02 22:25:28 +00:00
stack
stdexcept re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
streambuf re PR libstdc++/44015 (template parameters not documented) 2012-05-02 22:25:28 +00:00
string
system_error * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
thread re PR libstdc++/52680 (std::this_thread::sleep_for #ifdef'd out by _GLIBCXX_USE_NANOSLEEP) 2012-11-23 22:11:23 +00:00
tuple * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
type_traits * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
typeindex * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
unordered_map * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
unordered_set * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
utility * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
valarray * many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus. 2012-11-10 12:27:22 -05:00
vector