On Wed, Jun 23, 2010 at 09:09:02AM +0900, John Mettraux wrote: > > On Wed, Jun 23, 2010 at 01:35:40AM +0900, John Mettraux wrote: > > > > On Tue, Jun 22, 2010 at 11:52:31AM -0400, Rich Meyers wrote: > > > > > > I was investigating different approaches to waiting for job completion > > > when I discovered that Engine#wait_for cannot be used from more than one > > > thread concurrently. > > > > > > Here is an example script demonstrating the problem: > > > http://gist.github.com/448661 > > > > > > The issue seems to originate in TestLogger. I'm wondering if it is > > > intentional, if there was/is no need to have multiple threads waiting for > > > jobs, or if it's a bug.
Hello Rich, here it is : http://github.com/jmettraux/ruote/commit/776cd89180c5ed59ef94f3d52d31f2296e0573c2 Please take note of this warning about wait_for and multiple workers : http://github.com/jmettraux/ruote/commit/93075d94ec0ef4d4e1b2ca852de7d02ea8a888e1 Best regards, -- John Mettraux - http://jmettraux.wordpress.com -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
