Abstract:
This program is to test python process pool.
Content:
if no pool.join and result, you may not see all the output from subprocess. Be careful that the input functions for multiprocess pool can’t be class method, no matter it’s static or not. Lambda expression that represent a function is also invalid.
The expected input funtions should be normal funtion(outside of class). It’s ok to call other process in the normal funtion.
1 | import multiprocessing |
History:
- 2016-11-09:create the page