On Jan 6, 1:18 pm, s...@pobox.com wrote:
>     Roger> .setDaemon(True) means the thread gets destroyed when the program
>     Roger> exits and default .setDaemon(False) means that the thread
>     Roger> continues to process even when the main program is gone?
>
> Approximately.  The main thread (and thus the program) will exit only when
> all non-daemon threads have finished.  A thread can't continue to run if the
> main program has exited.
>
> --
> Skip Montanaro - s...@pobox.com -http://smontanaro.dyndns.org/

Gotcha.  Thank you, that makes it clearer.  =)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to