¡@

Home 

python Programming Glossary: toshare

How to combine Pool.map with Array (shared memory) in Python multiprocessing?

http://stackoverflow.com/questions/1675766/how-to-combine-pool-map-with-array-shared-memory-in-python-multiprocessing

sdfsdfsd sdfdsfsdf # want to share it using shared memory toShare Array 'c' testData # this works print count_it toShare a pool.. toShare Array 'c' testData # this works print count_it toShare a pool Pool # RuntimeError here print pool.map count_it toShare.. a pool Pool # RuntimeError here print pool.map count_it toShare key for key in a b s d Can anyone tell me what I am doing wrong..