[Python-checkins] python/dist/src/Doc/lib libsocksvr.tex,1.15,1.16

loewis@users.sourceforge.net loewis@users.sourceforge.net
Fri, 22 Nov 2002 00:08:45 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv2547/Doc/lib

Modified Files:
	libsocksvr.tex 
Log Message:
Patch #550765: Add daemon_threads flag.


Index: libsocksvr.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsocksvr.tex,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** libsocksvr.tex	25 Aug 2002 16:27:33 -0000	1.15
--- libsocksvr.tex	22 Nov 2002 08:08:43 -0000	1.16
***************
*** 38,41 ****
--- 38,49 ----
  many requests.
  
+ When inheriting from \class{ThreadingMixIn} for threaded connection
+ behavior, you should explicitly declare how you want your threads
+ 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.
+ 
  Server classes have the same external methods and attributes, no
  matter what network protocol they use: