[mod_python] Child shutdowns?

Barry Warsaw barry at python.org
Fri Aug 29 18:40:46 EST 2003


On Fri, 2003-08-29 at 18:23, Greg Stein wrote:

> So it does what you want, but yah... a bit ugly. And it really doesn't
> look thread-safe either. You could easily have two threads end up inside
> the 'if' block, registering a cleanup.

Yep, but right now I'm using a prefork MPM, which I'll probably stick
with for reasons like this.  IIUC, each child process is single
threaded, right?

-Barry




More information about the Mod_python mailing list