[Backgroundrb-devel] Worker suicide

Ezra Zygmuntowicz ezmobius at gmail.com
Thu Sep 7 13:06:41 EDT 2006


	Yes. I'm sorry for the confusion about that.

-Ezra

On Sep 7, 2006, at 5:17 AM, Jonathan Métillon wrote:

> And does
>
> ::BackgrounDRb::MiddleMan.instance.delete_worker @_job_key
>
> actually kill the thread?
>
>
> On 9/6/06, Ezra Zygmuntowicz < ezmobius at gmail.com> wrote:
>
> On Sep 6, 2006, at 5:00 AM, Jonathan Métillon wrote:
>
>> I wonder why Ezra proposed the delete_worker method if a kill  
>> method exists? Maybe it's a brand new feature? i was not aware of  
>> it and found nothing about this while googling.
>>
>> On 9/6/06, Chris Roos <chrisjroos at gmail.com > wrote:
>> There is also a kill method for a worker, so I believe (and it seems
>> to work) that you can just use kill (or self.kill) in place of the
>> above chain.
>>
>> The :: references the top level namespace.
>>
>> Chris
>>
>>
>
>  	There is a kill method you can call in your worker. I need to  
> update it however because while it does delete the worker out of  
> the @jobs and @timestamps hashes, it doesnt actualy kill the  
> running thread. There will be a new release soon that addresses  
> this issue.
>
>
> -Ezra
>
>
>
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060907/54b84fd8/attachment.html 


More information about the Backgroundrb-devel mailing list