Re: GIL cpu multi core usage problem

2008-06-13 Thread Gabriel Genellina
En Fri, 13 Jun 2008 08:55:30 -0300, Pau Freixes <[EMAIL PROTECTED]> escribió: When you say this "C extensions (usually) release the GIL when they don't call into any Python code" do you talk about this macros ? Py_BEGIN_ALLOW_THREADS Py_END_ALLOW_THREADS Exactly. -- Gabriel Genellina --

Re: GIL cpu multi core usage problem

2008-06-13 Thread Pau Freixes
Hi, When you say this "C extensions (usually) release the GIL when they don't call into any Python code" do you talk about this macros ? Py_BEGIN_ALLOW_THREADS Py_END_ALLOW_THREADS On Wed, Jun 11, 2008 at 3:52 AM, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > En Mon, 09 Jun 2008 15:26:09 -0

Re: GIL cpu multi core usage problem

2008-06-10 Thread Gabriel Genellina
En Mon, 09 Jun 2008 15:26:09 -0300, Pau Freixes <[EMAIL PROTECTED]> escribió: 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

GIL cpu multi core usage problem

2008-06-09 Thread Pau Freixes
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