Advanced Python Programming
上QQ阅读APP看书,第一时间看更新

Using multiple processes

The standard multiprocessing module can be used to quickly parallelize simple tasks by spawning several processes, while avoiding the GIL problem. Its interface is easy to use and includes several utilities to handle task submission and synchronization.