a thread pool based on lock-free queue