In
computer programming, a
thread pool pattern (also
replicated workers or
worker-crew model) consists of a number of
threads, created to perform a number of
tasks concurrently. Typically is not equal to ; instead, the number of threads is tuned to the computing resources available to handle tasks in
parallel (
processors,
cores,
memory) while the number of tasks depends on the problem and may not be known upfront.