Microsoft interview question

(Second Interview) - Implement thread pool