meganz/mingw-std-threads

std::thread::hardware_concurrency() always returns 1

Closed this issue · 1 comments

I don't think it is a good idea to always return 1, since:

  • It's not true on pretty much any modern hardware.
  • The spec says: If this value is not computable or well defined an implementation should return 0.

Fixed. Thanks for reporting.