[QGIS-Developer] asyncio in plugins?

Nyall Dawson nyall.dawson at gmail.com
Tue Mar 23 15:30:40 PDT 2021


On Wed, 24 Mar 2021 at 06:15, David Marteau <dmarteau at 3liz.com> wrote:
>
>
> You should be aware that call to Qgis C/C++ api from Python hold the GIL
> and may prevent custom python threads  to run.

Actually almost all of the PyQGIS methods release the GIL before they
call c++ code. The only exceptions are very fast methods which are
guaranteed to be nearly instant to call.

Nyall


More information about the QGIS-Developer mailing list