reentrant callbacks from C into Python

gb at gb at
Tue Mar 4 20:05:21 CET 2003

Thanks for the help. I can confirm that surrounding EVERY call
to the API with Py_BEGIN/END_ALLOW_THREADS and acquiring the lock in
the callback does work. 

I do mean EVERY call. Even IUnknown->Release() might cause re-entry. 


More information about the Python-list mailing list