"(*)·´`·.¸.»ÐëÄdMäñ·´`·.¸.»(*)" <[email protected]> writes:

> I asked on #twisted and someone said that something about my
> application running as daemon and that destroys all threads spawned
> before that, and that I should spawn the thread *after* it's fully
> daemonized.
reactor.callWhenRunning() could be used to spawn the thread. Then
reactor.callFromThread() (from within the thread) could be used to run
code that should run in the reactor's mainloop i.e., twisted related
code.


--
Akira.


_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to