[zeromq-dev] How can I kill a thread created by zthread_fork?
Pieter Hintjens
ph at imatix.com
Wed Oct 7 10:05:58 CEST 2015
For what it's worth, there's also no way to force-kill an actor
thread. The actor must behave properly and handle the $TERM message.
If you have an actor or thread that misbehaves, fix the code so it
stops misbehaving...
On Wed, Oct 7, 2015 at 6:47 AM, Kevin Sapper <kevinsapper88 at gmail.com> wrote:
> Hi Jonathan,
> zthread is deprecated for several reasons. One being, there's no build in
> mechanism to kill it. Instead you should use the new zactor which is a
> really awesome replacement. If you're using zproject you can even get an
> actor skeleton generated.
>
> //Kevin
>
> Am 07.10.2015 1:42 vorm. schrieb "Jonathan" <reset_today at yahoo.com.au>:
>>
>> Once I create a new thread using zthread_fork, how can I then kill it, if
>> it (say) is unresponsive?
>> thanks
>> Peter
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list