[Tutor] Python and the Global Interpreter Lock
bob gailer
bgailer at gmail.com
Thu Aug 7 16:37:14 CEST 2008
OkaMthembo wrote:
> Hi there,
>
> I just came across something called the Global Interpreter Lock, and
> apparently its a condition where an interpreter locks resources to
> avoid sharing them with other apps/ processes on the system? I wish to
> find out what this means in terms of Python. for example does it mean
> that Python cannot take advantage of multiple CPUs? And does it mean
> that only one interpreter will run per box in a hosting environment?
See http://en.wikipedia.org/wiki/Global_Interpreter_Lock.
This only applies to threads within a Python process, not other
apps/prcoesses.
>
> I look forward to enlightenment.
So do I. Who is your guru?
More information about the Tutor
mailing list