python multiprocessing pool vs threadpool 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.