reentrant callbacks from C into Python

gb at cs.unc.edu gb at cs.unc.edu
Tue Mar 4 14:05:21 EST 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. 

gb




More information about the Python-list mailing list