Python and threaded environments

Aahz aahz at pythoncraft.com
Mon Jun 7 18:45:05 CEST 2004


In article <mailman.654.1086610740.6949.python-list at python.org>,
Eric S. Johansson <esj at harvee.org> wrote:
>
>If I use the very high-level technique described in the documentation,
>will it:
>
>  create a single instance of Python that blocks all thread activity, 
>  one instance of Python per thread, or 
>  1 thread of Python per thread?

None of the above.  Your first answer is the default, but it's possible
to create an instance of Python that doesn't block thread activity.

>Is it possible to get one instance of Python runtime environment per
>thread?

No.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"as long as we like the same operating system, things are cool." --piranha



More information about the Python-list mailing list