Thread pool
A method for efficient parallel processing in computer programs (pre-creating threads and reusing them as tasks occur, reducing overhead of thread creation and destruction, improving system performance, and optimizing resource management)
In computer programming, a thread pool is a software design pattern for achieving concurrency of execution in a computer program. Often also called a replicated workers or worker-crew model, a thread pool maintains multiple threads waiting for tasks to be allocated for concurrent execution by the supervising program.
Nº Q3990847 ★
Common · Knowledge
Thread pool
A method for efficient parallel processing in computer programs (pre-creating threads and reusing them as tasks occur, reducing overhead of thread creation and destruction, improving system performance, and optimizing resource management)
In computer programming, a thread pool is a software design pattern for achieving concurrency of execution in a computer program. Often also called a replicated workers or worker-crew model, a thread pool maintains multiple threads waiting for tasks to be allocated for concurrent execution by the supervising program.
From Wikipedia
In computer programming, a thread pool is a software design pattern for achieving concurrency of execution in a computer program. Often also called a replicated workers or worker-crew model, a thread pool maintains multiple threads waiting for tasks to be allocated for concurrent execution by the supervising program. By maintaining a pool of threads, the model increases performance and avoids latency in execution due to frequent creation and destruction of threads for short-lived tasks. Another good property - the ability to limit system load, when we use fewer threads than available. The number of available threads is tuned to the computing resources available to the program, such as a parallel task queue after completion of execution.
Text: Wikipédia, CC BY-SA 4.0. · Image: en:User:Cburnett (CC BY-SA 3.0) ·
Related cards
-
P
Pthreads
Execution model which allows for parallel computing
Nº Q928112 ★
Not listed
-
P
Process (computing)
Particular execution of a computer program
Nº Q205663 ★★
Not listed
-
P
PEARL (programming language)
Programming language
Nº Q2043979 ★
Not listed
-
E
Event loop
Programming design pattern that waits for and dispatches events or messages in a program
Nº Q1349935 ★
Not listed
-
S
Structured concurrency
Programming paradigm aimed at improving programming via a structured approach to concurrent programming
Nº Q85803803 ★
Not listed
-
Parallel computing
Programming paradigm in which many calculations or the execution of processes are carried out simultaneously
Nº Q232661 ★★
Not listed