support compile thread adjust