Rework how th_max is computed to reflect the number of simultaneously executing threads
Rework how th_max is computed to reflect the number of simultaneously
executing threads

klmitch/dtest,klmitch/dtest