Ask Your Question

Revision history [back]

How does the GIL release happen for drawing functions exposed to Python?

I'm trying to determine whether the Python drawing functions release the Global Interpreter Lock (GIL). I have gotten as far finding the ERRWRAP2 macro, but I’m not sure if it is applied to the drawing functions defined in drawing.cpp, as according to the docs these should be prefixed with the CV_WRAP macro, but they are not. Could somebody point me to where/how the GIL release happens for the drawing functions exposed to Python please?