gcc/libstdc++-v3/testsuite/30_threads
Jonathan Wakely 43653c334d acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
2011-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
	GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
	* configure.ac: Use them. Increase minor version.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* include/std/thread (thread::hardware_concurrency): Remove inline
	definition.
	* src/thread.cc (thread::hardware_concurrency): Define.
	* config/abi/pre/gnu.ver: Export new symbol @3.4.17
	* testsuite/util/testsuite_abi.cc: Add new version.
	* testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
	* testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
	* testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
	dg-require-nprocs and verify hardware_concurrency returns non-zero.

From-SVN: r174383
2011-05-28 18:27:01 +01:00
..
async future (launch): Update enumerators and define operators required for bitmask type. 2011-05-28 01:24:11 +01:00
call_once re PR libstdc++/46303 ('mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc) 2010-11-04 17:02:25 +00:00
condition_variable * decl2.c (mark_used): Adjust error for use of deleted function. 2010-06-29 20:51:13 -04:00
condition_variable_any * decl2.c (mark_used): Adjust error for use of deleted function. 2010-06-29 20:51:13 -04:00
future future (future::share): Add. 2011-03-25 23:16:09 +00:00
headers *: Use headername alias to associate private includes to public includes. 2010-12-19 09:21:16 +00:00
lock mutex (try_lock, [...]): Fix. 2010-12-04 02:37:46 +00:00
lock_guard mutex (lock_guard::lock_guard): Do not lock mutex when adopt_lock_t constructor is used. 2010-03-02 23:00:21 +00:00
mutex re PR libstdc++/46303 ('mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc) 2010-11-04 17:02:25 +00:00
once_flag/cons re PR libstdc++/46303 ('mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc) 2010-11-04 17:02:25 +00:00
packaged_task future (future::share): Add. 2011-03-25 23:16:09 +00:00
promise future: Enable allocator support. 2010-10-08 02:06:27 +01:00
recursive_mutex * decl2.c (mark_used): Adjust error for use of deleted function. 2010-06-29 20:51:13 -04:00
recursive_timed_mutex * decl2.c (mark_used): Adjust error for use of deleted function. 2010-06-29 20:51:13 -04:00
shared_future re PR libstdc++/46951 (30_threads/future/members/45133.cc failed) 2010-12-15 02:07:07 +00:00
this_thread Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
thread acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN. 2011-05-28 18:27:01 +01:00
timed_mutex * decl2.c (mark_used): Adjust error for use of deleted function. 2010-06-29 20:51:13 -04:00
try_lock mutex (try_lock, [...]): Fix. 2010-12-04 02:37:46 +00:00
unique_lock re PR libstdc++/39880 (Specialisation is_error_code_enum<errc> should not exist) 2009-04-25 19:00:52 +00:00