[pypy-dev] Releasing the GIL in CPython extensions?

Carl Friedrich Bolz cfbolz at gmx.de
Thu Apr 5 22:24:21 CEST 2007


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




More information about the Pypy-dev mailing list