Concept Flow - Worker pool pattern
Start main thread
Create worker pool
Assign tasks to workers
Worker executes task
Worker sends result back
Main thread collects results
Check if more tasks
Assign next
The main thread creates a pool of workers, assigns tasks to them, collects results, and repeats until all tasks are done, then shuts down the pool.