Question 252: How would you design a C++ thread pool with a protected work queue, condition-variable predicates, orderly shutdown, task-result/exception propagation, and backpressure?
This detailed lesson requires Premium. You can still view the question and answer and practise interviews for free.