durusmail: quixote-users: Threaded SCGI server
htmltext as a string subtype
2003-10-31
2003-11-04
Threaded SCGI server
2003-11-04
Threaded SCGI server
T. Egbert
2003-11-04
Sorry about the misleading subject line in my last message.  Let's try
this again:

If anyone is interested, I've modified the Python code in SCGI to do
multithreading of children rather than spawning child processes.  The
new code does not need the passfd native methods and may be useful to
some people, especially if you need or want to make something available
to all children in the same address space.

The modifications are to the "scgi_server.py" and "quixote_handler.py"
files which I've renamed
"scgi_mt_server.py" and "quixote_mt_handler.py".

I've not tested this code much, and especially have not invoked the
multiple threads, so it will have to be considered early alpha and not
production quality, but I will be using it for my web site when I get it
up and running.  It does seem to serve up the default web page and
handle the Quixote.demo pages.

If there is interest, please let me know how to contribute the code.

Tim Egbert



reply