Thread confusion about Python and Windows

Cameron Zemek grom_3 at optusnet.com.au
Tue May 13 03:58:19 EDT 2003


"Martin v. Löwis" <martin at v.loewis.de> wrote in message
news:m3bry7nxh1.fsf at mira.informatik.hu-berlin.de...
> "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

Then why on earth is there multi-threaded libraries??






More information about the Python-list mailing list