add some thread pool interfaces