diff options
author | Fred Drake <fdrake@acm.org> | 2002-11-22 14:29:42 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-11-22 14:29:42 (GMT) |
commit | a191befb2d9b7757283ecc520113613eb46de019 (patch) | |
tree | 9fa263afd6a44557a0b7d421f3f7f55ac78c657a /Doc/lib/libsocksvr.tex | |
parent | 74f5a56c2c44a5618e1c2c47f87a19c5c2c9c742 (diff) | |
download | cpython-a191befb2d9b7757283ecc520113613eb46de019.zip cpython-a191befb2d9b7757283ecc520113613eb46de019.tar.gz cpython-a191befb2d9b7757283ecc520113613eb46de019.tar.bz2 |
Clarify the default setting for daemon_threads.
Diffstat (limited to 'Doc/lib/libsocksvr.tex')
-rw-r--r-- | Doc/lib/libsocksvr.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libsocksvr.tex b/Doc/lib/libsocksvr.tex index c51b664..3b5ed0c1 100644 --- a/Doc/lib/libsocksvr.tex +++ b/Doc/lib/libsocksvr.tex @@ -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: |