[Backgroundrb-devel] When does a worker terminate

Tuong.Le at Emulex.Com Tuong.Le at Emulex.Com
Thu Feb 26 17:55:26 EST 2009


In Rails, it seems I can create a new worker with:

      worker_abc = Middleman.worker(:foo_worker)

And later on uses it like:

      worker_abc.async_some_task(:arg => data)

My question is when does this "worker_abc" go away and its resources freed up?  How does Ruby/Rails/backgroundrb know that I am done using "worker_abc"?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20090226/7bf620c4/attachment-0001.html>

More information about the Backgroundrb-devel mailing list