REPOST: mod_python and threads

Achim Domma achim.domma at syynx.de
Fri Dec 28 10:32:55 EST 2001


Hi,

I'm playing around with mod_python and I like it, but I don't understand how
it handles multiple threads. I think apache holds a pool of threads to
handle request, so what happens if mod_python uses only one subinterpreter
per virtual server ? Are request handled in a serial way or do I have to
write threadsafe code ?

could somebody enlighten my please ?

greetings
Achim

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool1-nwblwi.newsops.execpc.com!newsfeeds.sol.net!news-out.visi.com!hermes.visi.com!news.tele.dk!small.news.tele.dk!134.75.7.11!nntp.kreonet.re.kr!news-hub.kaist.ac.kr!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: "Achim Domma" <achim.domma at syynx.de>
Newsgroups: comp.lang.python
Subject: cmsg cancel <a0i33d$vm2$05$1 at news.t-online.com>
Control: cancel <a0i33d$vm2$05$1 at news.t-online.com>
Date: Mon, 31 Dec 2001 02:33:07 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.a0i33d$vm2$05$1 at news.t-online.com>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009775020 27193 211.57.49.2 (31 Dec 2001 05:03:40 GMT)
X-Complaints-To: usenet at news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 05:03:40 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.



More information about the Python-list mailing list