[Pyrex] [Cython-dev] Callbacks from threads and PyGILState_Ensure/PyGILState_Release
Ulisses Furquim
ulisses.silva at openbossa.org
Mon Sep 17 14:17:50 CEST 2007
Hi,
On 9/17/07, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Thus a "without GIL" block and a "with GIL" function annotation matches well
> with common use patterns *and* with the code that Pyrex commonly generates.
Yeah, I agree that having a 'without GIL' block and a 'with GIL'
function annotation seems to be the simpler and straightforward way to
solve all this. We can just map them to the Python C/API
functions/macros and it'll just work. How do you feel about this,
Greg?
Best regards,
-- Ulisses
More information about the Pyrex
mailing list