a thread pool with no cpp package