PyDocs
Standard Library
(3.15.2)
Quick Reference
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Internet Protocols and Support
ftplib
http
http.client
http.cookiejar
http.cookies
http.server
imaplib
ipaddress
poplib
smtplib
socketserver
urllib
urllib.error
urllib.parse
urllib.request
urllib.response
urllib.robotparser
uuid
webbrowser
wsgiref
wsgiref.handlers
wsgiref.headers
wsgiref.simple_server
wsgiref.types
wsgiref.util
wsgiref.validate
xmlrpc
xmlrpc.client
xmlrpc.server
All modules
PyDocs
Standard Library
Quick Ref
Log In
Staging: this is not the live site, pydocs.org.
PyDocs
Standard Library
Quick Ref
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Internet Protocols and Support
ftplib
http
client
cookiejar
cookies
server
imaplib
ipaddress
poplib
smtplib
socketserver
urllib
error
parse
request
response
robotparser
uuid
webbrowser
wsgiref
handlers
headers
simple_server
types
util
validate
xmlrpc
client
server
All modules
ThreadingMixIn
socketserver
class
(
source
)
not WASI
Mix-in class to handle each request in a new thread.
© Python Software Foundation.
PSF License Version 2
·
Official docs ↗
Changed in 3.7
3.7:
ForkingMixIn.server_close and ThreadingMixIn.server_close now waits until all child processes and non-daemonic threads complete. Add a new ForkingMixIn.block_on_close class attribute to opt-in for the pre-3.7 behaviour.
Members of ThreadingMixIn
b
block_on_close
ForkingMixIn.server_close waits until all child processes complete, except if block_on_close attribute is False.
d
daemon_threads
For ThreadingMixIn use daemonic threads by setting ThreadingMixIn.daemon_threads to True to not wait until threads complete.
m
max_children
Specify how many child processes will exist to handle requests at a time for ForkingMixIn.
0 Examples
No examples for socketserver/ThreadingMixIn.
Log in
to add an example
See Also
No see-alsos for
socketserver/ThreadingMixIn
Log in
to add a see-also
0 Notes
No notes for
ThreadingMixIn
Log in
to add a note