implementation of std::thread::hardware_concurrency()

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


On Nov 1, 2011, at 10:13 AM, Jonathan Wakely wrote:
>> I suspect on some systems, this would be a runtime value....  so, no fixed constant could ever work.
> 
> It's a constant for identifying the sysctl, not a constant for the
> number of processors e.g. (untested)

Ah, never mind, ignore me.



More information about the Libstdc++ mailing list