ADP interview question

How to implement thread pool which can pass through multiple layers