Top "Multiprocessing" questions

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

Concurrent.futures vs Multiprocessing in Python 3

Python 3.2 introduced Concurrent Futures, which appear to be some advanced combination of the older threading and multiprocessing modules. What are …

python python-3.x multiprocessing
Python sharing a lock between processes

I am attempting to use a partial function so that pool.map() can target a function that has more than …

python locking multiprocessing share
multiprocessing global variable updates not returned to parent

I am trying to return values from subprocesses but these values are unfortunately unpicklable. So I used global variables in …

python multiprocessing
Python Process Pool non-daemonic?

Would it be possible to create a python Pool that is non-daemonic? I want a pool to be able to …

python multiprocessing pool
Django multiprocessing and database connections

Background: I'm working a project which uses Django with a Postgres database. We're also using mod_wsgi in case that …

django multiprocessing
What's the difference between ThreadPool vs Pool in the multiprocessing module?

Whats the difference between ThreadPool and Pool in multiprocessing module. When I try my code out, this is the main …

python python-3.x multiprocessing threadpool python-multiprocessing
Python Multiprocessing Pool Map: AttributeError: Can't pickle local object

I have a method inside a class that needs to do a lot of work in a loop, and I …

python multiprocessing python-multiprocessing
Filling a queue and managing multiprocessing in python

I'm having this problem in python: I have a queue of URLs that I need to check from time to …

python queue multiprocessing pool
Log output of multiprocessing.Process

Is there a way to log the stdout output from a given Process when using the multiprocessing.Process class in …

python logging concurrency multiprocessing
Is shared readonly data copied to different processes for multiprocessing?

The piece of code that I have looks some what like this: glbl_array = # a 3 Gb array def my_func( …

python numpy multiprocessing