Re: [v3] define std::thread::hardware_concurrency()

2011-05-28 Thread Jonathan Wakely
On 28 May 2011 01:43, Jonathan Wakely wrote: > This patch uses glibc's get_nprocs() or the non-standard but widely > available _SC_NPROCESSORS_ONLN sysconf variable to determine the > number of processors. > > 2011-05-28  Jonathan Wakely   > >        * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS

[v3] define std::thread::hardware_concurrency()

2011-05-27 Thread Jonathan Wakely
This patch uses glibc's get_nprocs() or the non-standard but widely available _SC_NPROCESSORS_ONLN sysconf variable to determine the number of processors. 2011-05-28 Jonathan Wakely * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and GLIBCXX_CHECK_SC_NPROCESSORS_ONLN. *