I think Diez' example show this work automatically in Unix. In my case I use Windows. I use the multiprocessing.Array to share data in shared memory. multiprocessing.Array has a limitation that it can only reference simple C data types, not Python objects though. Wai Yip Tung