Download Softwaretechnik ¨Uberblick I - Informatik - FB3
Transcript
Thread Pool Pattern (auch: Replicated Workers) 332 / 504 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 ”leaves” the thread pool and joins the completed tasks list (yellow circles). Author: Colin M.L. Burnett Permission under license: GFDL