Oct-11-2019, 05:50 AM
from concurrent.futures import ProcessPoolExecutor with ProcessPoolExecutor() as executor: results = executor.map(my_func, args=args_list)ProcessPoolExecutor does not really terminate processes before starting to process new tasks. Thank!