use ext ThreadPool

change CMakeList files