doc use of hardware concurrency for number of threads

close #336