Python GIL usage
I'm using pyvista 0.36.1 with vtk 9.2.6 in the python web application (python 3.10).
I wonder if there is any way not to have all threads locked when vtk native calls happen. Some of executions are pretty long (45s - 2 minutes) and during this time the entire application is blocked.
Researching for this problem I found few discussions and various options to try on vtk build from sources:
- VTK_PYTHON_FULL_THREADSAFE
- VTK_NO_PYTHON_THREADS
- VTK_USE_PARALLEL
- VTK_USE_MPI
I tried various combinations but the result is the same. Does anybody know how to resolve this issue?
Edited by Irina Gorbunova