Top "Multiprocessing" questions

Multiprocessing is the use of two or more central processing units (CPUs) within a single computer system.

Python Multiprocessing Lib Error (AttributeError: __exit__)

Am getting this error when using the pool.map(funct, iterable): AttributeError: __exit__ No Explanation, only stack trace to the …

python multiprocessing pickle with-statement contextmanager
How to kill all Pool workers in multiprocess?

I want to stop all threads from a single worker. I have a thread pool with 10 workers: def myfunction(i): …

python multithreading multiprocessing kill-process
What kind of problems (if any) would there be combining asyncio with multiprocessing?

As almost everyone is aware when they first look at threading in Python, there is the GIL that makes life …

python multithreading asynchronous multiprocessing python-asyncio
Python Multiprocessing appending list

Have a quick question about a shared variable between multiple processes using Multiprocessing.Pool(). Will I run in to any …

python variables multiprocessing shared
Python Multiprocessing.Pool lazy iteration

I'm wondering about the way that python's Multiprocessing.Pool class works with map, imap, and map_async. My particular problem …

python multiprocessing
multiprocessing.freeze_support()

Why does the multiprocessing module need to call a specific function to work when being "frozen" to produce a windows …

python multiprocessing py2exe pyinstaller cx-freeze
What can multiprocessing and dill do together?

I would like to use the multiprocessing library in Python. Sadly multiprocessing uses pickle which doesn't support functions with closures, …

python multiprocessing pickle dill
Python: Writing to a single file with queue while using multiprocessing Pool

I have hundreds of thousands of text files that I want to parse in various ways. I want to save …

python queue multiprocessing pool
Using Celery on processes and gevent in tasks at the same time

I'd like to use Celery as a queue for my tasks so my web app could enqueue a task, return …

python multiprocessing celery gevent monkeypatching
Main difference between Shared memory and Distributed memory

I'm a bit confused between about the difference between shared memory and distributed memory. Can you clarify? Is shared memory …

memory multiprocessing distributed shared cpu-architecture