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,

welcome in this mailing list.

wait_for was initially intended only for testing, though, lately, while 
collaborating with Oleg it became a bit for versatile.

I will try to make it threadsafe, stay tuned.


> While researching this issue I added some documentation reflecting observed 
> behavior: http://github.com/richmeyers/ruote/compare/ruote2.1...documentation

Many thanks for the ongoing documentation effort + the optimizations.


Once again, welcome,

-- 
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

Reply via email to