On Wed, Aug 10, 2011 at 15:35, Itamar Turner-Trauring
wrote:
>> To solve this problem, I'd like to set threads as daemon. So that all
>> related threads are terminated when main loop is interrupted. Any idea on
>> this problem will be appreciated.
>
> I've seen daemon threads causing core dumps on
> To solve this problem, I'd like to set threads as daemon. So that all
> related threads are terminated when main loop is interrupted. Any idea on
> this problem will be appreciated.
I've seen daemon threads causing core dumps on shutdown. Better to either
use a library that doesn't use threads (
On Wed, Aug 10, 2011 at 2:49 PM, Heungsub Lee wrote:
>
> To solve this problem, I'd like to set threads as daemon. So that all
> related threads are terminated when main loop is interrupted. Any idea on
> this problem will be appreciated.
>
>
Hi Heungsub,
Two options as far I as I can see:
1. I
Hi, fellow programmers.
I have a problem with very long blocking thread(may not be finished) in
Twisted.
from socket import *
> from twisted.internet import reactor
> def consuming():
> while reactor.running:
> amqp_consumer.wait() # waiting for very long time or forever
> reactor.cal