python3 multiprocessing pool code example
Example: python difference between multiprocessing Pool and Threadpool
The multiprocessing.pool.ThreadPool behaves the same as the multiprocessing.Pool with the only difference that uses threads instead of processes to run the workers logic.