number of threads is now based on number of processors