[Twisted-Python] A problem with very long blocking thread in Twisted

Itamar Turner-Trauring itamar at itamarst.org
Wed Aug 10 10:35:00 EDT 2011

> 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 (which as mentioned is possible in
this case), or have a timeout on your blocking wait.

More information about the Twisted-Python mailing list