compile thread pool ok