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

Gary Robinson grobinson at goombah.com
Thu Apr 5 22:03:25 CEST 2007


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?

That would enable multiprocessing and could be extremely useful when the programmer knows he's not going to modifying shared items during the execution of the extension.

Thanks,
Gary

-- 

Gary Robinson
CTO
Emergent Music, LLC
grobinson at goombah.com
207-942-3463
Company: http://www.goombah.com
Blog:    http://www.garyrobinson.net



More information about the Pypy-dev mailing list