[Cython] Question about providing functions to existing C code
Stefan Behnel
stefan_ml at behnel.de
Tue Apr 22 08:13:52 CEST 2008
Hi,
Johannes Wienke wrote:
> Am 04/21/2008 10:57 PM schrieb Stefan Behnel:
>> I would still try appending a "with gil" after the callback function
>> signature, just to be sure, like this:
>>
>> cdef void my_callback(void* whatever) with gil:
>> ...
>>
>> It doesn't need to use threads, but it may still release the GIL
>> internally
>> (for whatever reason).
>
> No luck. :( Still a segfault.
Too bad. There was a recent thread about debugging with valgrind. That would
definitely be the next thing to try.
Stefan
More information about the Cython-dev
mailing list