Thread pool typically the number of available threads is tuned to the computing resources available to the program, such as parallel processors, CPU cores, memory, and network sockets.
A common method of scheduling tasks for thread execution is a synchronized queue, known as a task queue. The worker threads in the Thread pool remove waiting tasks from the queue, and place them into a completed task queue after completion of execution.!! Thread pool Threads As with most thread pools there are different classifications of threads:
tasks are entities waiting on a thread and there are different classifications of tasks as: