On 11 apr, 21:11, sturlamolden <sturlamol...@yahoo.no> wrote:

> import numpy as np
> import sharedmem as sm
> private_array = np.zeros((10,10))
> shared_array  = sm.zeros((10,10))

I am also using this to implement synchronization primitives (barrier,
lock, semaphore, event) that can be sent over an instance of
multiprocessing.Queue. The synchronization primitives in
multiprocessing cannot be communicated this way.

Sturla
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to