Re: multiprocessing and Locks

2009-04-12 Thread gvv
On Apr 13, 3:30 am, Piet van Oostrum wrote: > > gvv (G) wrote: > >G> Hi All, > >G> I am trying to understand multiprocessing, but I am getting a Runtime > >G> error on the > >G> code below. What am I missing or doing wrong? > >G> Error is: > >G> RuntimeError: Lock objects should only be share

Re: multiprocessing and Locks

2009-04-12 Thread Piet van Oostrum
> gvv (G) wrote: >G> Hi All, >G> I am trying to understand multiprocessing, but I am getting a Runtime >G> error on the >G> code below. What am I missing or doing wrong? >G> Error is: >G> RuntimeError: Lock objects should only be shared between processes >G> through inheritance [code deleted]

multiprocessing and Locks

2009-04-11 Thread gvv
Hi All, I am trying to understand multiprocessing, but I am getting a Runtime error on the code below. What am I missing or doing wrong? Error is: RuntimeError: Lock objects should only be shared between processes through inheritance I am using: Python 2.6 (r26:66714, Nov 28 2008, 22:17:21) [GCC