Top "Multiprocessing" questions

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

Shared-memory objects in multiprocessing

Suppose I have a large in memory numpy array, I have a function func that takes in this giant array …

python numpy parallel-processing multiprocessing shared-memory
Multiprocessing: How to use Pool.map on a function defined in a class?

When I run something like: from multiprocessing import Pool p = Pool(5) def f(x): return x*x p.map(f, [1,2,3]) …

python multiprocessing pickle
Passing multiple parameters to pool.map() function in Python

I need some way to use a function within pool.map() that accepts more than one parameter. As per my …

python multiprocessing pool map-function
Multiprocessing a for loop?

I have an array (called data_inputs) containing the names of hundreds of astronomy images files. These images are then …

python multiprocessing
How to troubleshoot an "AttributeError: __exit__" in multiproccesing in Python?

I tried to rewrite some csv-reading code to be able to run it on multiple cores in Python 3.2.2. I tried …

python python-3.x multiprocessing pool
multiprocessing: How do I share a dict among multiple processes?

A program that creates several processes that work on a join-able queue, Q, and may eventually manipulate a global dictionary …

python multiprocessing
Using multiprocessing.Process with a maximum number of simultaneous processes

I have the Python code: from multiprocessing import Process def f(name): print 'hello', name if __name__ == '__main__': …

python multithreading multiprocessing
Shared memory in multiprocessing

I have three large lists. First contains bitarrays (module bitarray 0.8.0) and the other two contain arrays of integers. l1=[bitarray 1, …

python multiprocessing shared-memory large-data
multiprocessing.Pool - PicklingError: Can't pickle <type 'thread.lock'>: attribute lookup thread.lock failed

multiprocessing.Pool is driving me crazy... I want to upgrade many packages, and for every one of them I have …

python threadpool multiprocessing pickle
RuntimeError on windows trying python multiprocessing

I am trying my very first formal python program using Threading and Multiprocessing on a windows machine. I am unable …

python windows multiprocessing