Skip to content

Gil python Calls

Mathieu Westphal (Kitware) requested to merge mwestphal/vtk:newGilPython into master

Applying GIL PYTHON patch

  1. Defining a gilEnsurer class to use as RAII for gil
  2. Ensuring critical calls to python, where they could be concurrency, only when a cmake option is defined
  3. Correcting the access to python in vtkPythonInterpreter::Initialize
  4. Forcing the use of gil in the Interactive Python Interepreter for auto completion http://www.vtk.org/Bug/view.php?id=15699
  5. Forcing the use of gil for prependPythonPath : http://www.vtk.org/Bug/view.php?id=15698

May be all call to GIL should use the new class.

Merge request reports