Ask Your Question

Agost Biro's profile - activity

2018-01-10 08:15:18 -0600 commented answer How does the GIL release happen for drawing functions exposed to Python?

Perfect, thanks! This is exactly the info that I was looking for.

2018-01-10 08:15:01 -0600 received badge  Supporter (source)
2018-01-10 08:14:53 -0600 marked best answer 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?

2018-01-10 08:14:53 -0600 received badge  Scholar (source)
2018-01-10 08:04:52 -0600 commented question How does the GIL release happen for drawing functions exposed to Python?

The ERRWRAP2 macro prepends a PyAllowThreads guard object to every function call that releases the GIL with a call to Py

2018-01-10 08:02:03 -0600 commented question How does the GIL release happen for drawing functions exposed to Python?

The ERRWRAP2 macro prepends a PyAllowThreads guard object to every function call that releases the GIL with a call to Py

2018-01-09 10:52:36 -0600 asked a question How does the GIL release happen for drawing functions exposed to Python?

How does the GIL release happen for drawing functions exposed to Python? I'm trying to determine whether the Python draw