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
condition_variable_any
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 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
recursive_mutex
recursive_timed_mutex
shared_future re PR libstdc++/46951 (30_threads/future/members/45133.cc failed) 2010-12-15 02:07:07 +00:00
this_thread
thread acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN. 2011-05-28 18:27:01 +01:00
timed_mutex
try_lock mutex (try_lock, [...]): Fix. 2010-12-04 02:37:46 +00:00
unique_lock