implementation of std::thread::hardware_concurrency()

Mike Stump mikestump@comcast.net
Tue Nov 1 17:06:00 GMT 2011


On Nov 1, 2011, at 8:55 AM, Jonathan Wakely wrote:
> Is there a reason you used "hw.ncpu" not the constant HW_NCPU ?

I suspect on some systems, this would be a runtime value....  so, no fixed constant could ever work.



More information about the Gcc-patches mailing list