Home     My Faqts     Contributors     About     Help    

faqts : Computers : Programming : Languages : Python

FAQTs repaired & updated!
Thanks for your patience...
Entry Add Entry Alert - Edit this Entry

Did You Find This Entry Useful?

5 of 6 people (83%) answered Yes
Recently 5 of 6 people (83%) answered Yes

How does runs Python 2.x on Windows multi CPU machines?

Mar 27th, 2002 16:22

Michael Chermside, Oliver Dissars

[NOTE: This is being written by someone who doesn't own a Windows multi
CPU machine, so please correct me if I'm wrong!]
I believe the answer is that it will run, but not much faster than if
you had a single CPU machine. The reason is that the core of Python is
single-threaded -- there is a "global interpreter lock" which means the
interpreter is essentially single-threaded.
You might see slight improvement because certain C-level functions can
be performed without holding the global interpreter lock (eg: file IO),
but don't expect much.

© 1999-2004 Synop Pty Ltd