|
C++ Programming/Threading - Wikibooks, open books for an open world
A simple thread pool. The task queue has many waiting tasks (blue circles). When a thread opens up in the queue (green box with dotted circle) a task comes off the queue and the open thread executes it (red circles in green boxes). The completed task then
en.wikibooks.org |
|