[Fwd: Re: Embedding Multiplr Python interpreter in C++]
Craig Ringer
craig at postnewspapers.com.au
Sat Jan 15 18:51:02 EST 2005
On Fri, 2005-01-14 at 22:42, Steve Holden wrote:
> Take a look at mod_python's code: that allows several independent
> interpreters in the same Apache process using Py_NewInterpreter()
I've never been entirely clear on whether mod_python does its magic by
relying on having one thread per sub-interpreter, or if it can support
multiple sub interpreters in a single thread. Any ideas?
I'm pretty sure it's the former, but it'd be nice to be sure.
--
Craig Ringer
More information about the Python-list
mailing list