ADP Interview Question

How to implement thread pool which can pass through multiple layers