Thread confusion about Python and Windows
Martin v. Löwis
martin at v.loewis.de
Tue May 13 02:59:22 EDT 2003
"Carl Waldbieser" <waldbie at attglobal.net> writes:
> For example, if I create a free-threaded COM component using
> PythonCOM, does that mean only one thread can be active in it at
> once (as opposed to say an ATL-based componet that could be accessed
> by multiple threads simultaneously)?
Yes, it does.
> Or suppose I want to use Python as my ActiveScripting language for
> an IIS web server. Can only one thread from the web server be
> active at once?
Again: yes.
> I guess I am not sure how many Python interpreters are there at once
> in those situations.
Python doesn't really support multiple independent interpreters in a
single process.
Regards,
Martin
More information about the Python-list
mailing list