Clarify the default setting for daemon_threads.

This commit is contained in:
Fred Drake 2002-11-22 14:29:42 +00:00
parent 74f5a56c2c
commit a191befb2d
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,9 @@ to behave on an abrupt shutdown. The \class{ThreadingMixIn} class
defines an attribute \var{daemon_threads}, which indicates whether
or not the server should wait for thread termination. You should
set the flag explicitly if you would like threads to behave
autonomously.
autonomously; the default is \constant{False}, meaning that Python
will not exit until all threads created by \class{ThreadingMixIn} have
exited.
Server classes have the same external methods and attributes, no
matter what network protocol they use: