[Twisted-Python] daemon thread support

Andrew Bennetts andrew-twisted at puzzling.org
Tue Dec 2 20:38:20 EST 2003

On Tue, Dec 02, 2003 at 08:09:47PM -0500, Itamar Shtull-Trauring wrote:
> On Wed, 3 Dec 2003 11:26:40 +1100
> Andrew Bennetts <andrew-twisted at puzzling.org> wrote:
> > For reader threads, obviously data loss isn't a problem, so you could
> > just set those to be daemonic -- although I was creating my threads
> > myself,
> This is a bad idea. It can cause fun stuff like segfaults on shutdown.

It can?!  The standard library docs for the threading module give no
indication of this...

(The explicit shutdown request usually feels cleaner to me anyway, but I'm
surprised that calling setDaemon(1) could be dangerous)


More information about the Twisted-Python mailing list