[Cython] Poll: Buffer access exception under nogil
Stefan Behnel
stefan_ml at behnel.de
Wed Apr 15 11:04:46 CEST 2009
Dag Sverre Seljebotn wrote:
> When releasing the GIL, we get a PyThreadState* pointing to our current
> thread state, in _save.
That is true for the nogil-block case, but not for nogil functions.
I don't see a way to retrieve the original thread state from a nogil
function without acquiring the GIL first (maybe I'm missing something). So
how would calling a function that raises an exception work from within a
nogil function?
Stefan
More information about the Cython-dev
mailing list