Microsoft interview question

Implement a thread pool in c++