Linux.com

Home News Software Developer PyMOTW: Multiprocessing, Part 2

PyMOTW: Multiprocessing, Part 2

Article Source ONLamp
April 28, 2009, 9:59 am
As with threads, a common use pattern for multiple processes is to divide a job up among several workers to run in parallel. A simple way to do that with multiprocessing is to use Queues to pass messages back and forth. Any pickle-able object can pass through a multiprocessing Queue. This is part 2 of coverage of the multiprocessing module. If you missed part one, you may want to start there.
 

Comments

Subscribe to Comments Feed

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board