March 2003
Intermediate to advanced
656 pages
39h 30m
English
isDaemon, setDaemon
t.isDaemon( )
t.setDaemon(daemonic)
isDaemon returns True if
t is a daemon (i.e., Python can terminate
the whole process even if t is still
active—such a termination also terminates
t); otherwise isDaemon
returns False. Initially,
t is a daemon if and only if the thread
creating t is a daemon. You can call
t
.setDaemon only before
t
.start: it sets
t to be a daemon if
daemonic is true.