Carl Friedrich Bolz | 5 Apr 2007 22:24
Picon
Picon
Gravatar

Re: Releasing the GIL in CPython extensions?

Simon Burton wrote:
> On Thu, 5 Apr 2007 16:03:25 -0400
> Gary Robinson <grobinson <at> goombah.com> wrote:
> 
>> Hello,
>>
>> In PyPy's facilities for writing a CPython extension, would it be conceivable to have an option to
release the CPython GIL when the extension is entered and grab it back upon exit?
> 
> It's easy enough to call the PyGIL_ functions manually from rpython..

That might well be, but that does not release PyPy's GIL when the module 
is used together with PyPy.

Cheers,

Carl Friedrich

_______________________________________________
pypy-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev


Gmane