Simplifies spawning pool of worker processes and distributing tasks between them.