threads
Jeremy Hylton
jeremy at cnri.reston.va.us
Thu Jun 3 14:31:19 EDT 1999
>>>>> "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.
This is an FAQ that isn't in the FAQ yet. Here's a more detailed answer:
http://x37.deja.com/getdoc.xp?AN=415182307&CONTEXT=928434593.1326317628&hitnum=0
Jeremy
More information about the Python-list
mailing list