Supernal interview question

When to use thread pool and implement one in pseudo code