threads

Hrvoje Niksic hniksic at srce.hr
Thu Jun 3 22:00:57 CEST 1999


Jeremy Hylton <jeremy at cnri.reston.va.us> writes:

> >>>>> "AM" == Arne Mueller <a.mueller at icrf.icnet.uk> writes:
> 
>   AM> Hi All, I'm using the threading module in python 1.5.2b2. I'm
>   AM> wondering wheather the different threads are all executed in
>   AM> parallel on a multiprocessor machine.
> 
> The short answer is no.  The Python interpreter has a lock that
> prevents allows only a single thread to execute at a time.

Eek.  That's depressing.  Isn't supporting threads and not allowing
simultaneous execution a bit weird?




More information about the Python-list mailing list