[Tutor] Thread deamon

Jorge Louis de Castro jobauk at hotmail.com
Mon Aug 22 13:23:14 CEST 2005


Hi,


Anyone knows how to setDaemon(True) or pass it as an argument to 
start_new_thread() with the code snippet below?

server.listen(1)
thread.start_new_thread(run_server,(server,))

Otherwise the thread stops running when I close the telnet client (even 
using Unix's & operator for background running)

chrs
j.




More information about the Tutor mailing list