Re: Python 2.6's multiprocessing lock not working on second use?

2009-01-19 Thread Frédéric Sagnes
On Jan 19, 11:53 am, Frédéric Sagnes wrote: > On Jan 17, 11:32 am, "Gabriel Genellina" > wrote: > > > > > En Fri, 16 Jan 2009 14:41:21 -0200, escribiste en el grupo > > gmane.comp.python.general > > > > I ran a few tests on the new Python

Re: Python 2.6's multiprocessing lock not working on second use?

2009-01-19 Thread Frédéric Sagnes
On Jan 17, 11:32 am, "Gabriel Genellina" wrote: > En Fri, 16 Jan 2009 14:41:21 -0200, escribiste en el grupo > gmane.comp.python.general > > > I ran a few tests on the new Python 2.6multiprocessingmodule before > > migrating a threading code, and found out the locking code is not > > working well.

Python 2.6's multiprocessing lock not working on second use?

2009-01-16 Thread Frédéric Sagnes
Hi, I ran a few tests on the new Python 2.6 multiprocessing module before migrating a threading code, and found out the locking code is not working well. In this case, a pool of 5 processes is running, each trying to get the lock and releasing it after waiting 0.2 seconds (action is repeated twice