Using multiple processes, that is, running separate programs, has the advantage that each process runs independently. This leaves all the burden of handling concurrency to the underlying operating system. The disadvantage is that communication and data sharing between the invoking program and the separate processes it invokes can be inconvenient.
- 10. Processes and Threading
- from Programming in Python 3: A Complete Introduction to the Python Language, Second Edition
- Publisher: Addison-Wesley Professional
- Released: November 2009
multiprocessing: os handles concurrency; more communication complexity
Share this highlighthttp://www.safaribooksonline.com/a/programming-in-python/17136603/