On Sun, Jun 8, 2008 at 6:15 AM, Pau Freixes <[EMAIL PROTECTED]> wrote: > Hi List, > > Surly this is a recurring theme into python dev world, but I need your help > for confirm if the follow image it's really > > http://www.milnou.net/~pfreixes/img/cpu_usage_gil_problem.png > > I'm writing a brief article for my blog and I need to make sure about the > current problem with GIL and multi core environments, this picture try to > explain with images the problem for scheduling multiple threads running > python code of same interpreter into multiple cpu cores. Can anyone confirm > to me this picture ? > > And if it's possible answer this two questions I will be happy :/
Next time, comp.lang.python would be the place to ask these questions. > > 1) When this situation it's produced into one core environment whats happens > when thread library or os switch context into other python thread and this > don't have a GIL ? They run together. > > 2) Exist some PEP or plans for modify this and run multiple thread python > for same interpreter at current time ? for python 3000? Certainly not in core Python. Have a look http://code.google.com/p/python-threadsafe/, though. -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com