use std::thread::hardware_concurrency instead of misc hacks
Authored by: Jean-Francois Dockes 2016-07-16
Parent(s): [453852]
Child(ren): [92da4c]