multiprocessing (module)
Processes, pools, queues, pipes and managers for multi-core work.
Intermediate
multiprocessing.Pool(4).map(f, items); use Queue to stream results back.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.