What is a thread pool?

What is a thread pool?

Approach: Describe reusable set of threads.

A collection of pre-instantiated, reusable threads used to execute tasks, reducing the overhead of creating and destroying threads frequently.

Follow-up: What happens when the task queue is full?

Key concepts: overhead reduction, task queue.