-
- Downloads
Add VTK_PYTHON_FULL_THREADSAFE as option
The VTK_PYTHON_FULL_THREADSAFE variable has existed since 2015, but so far has only been a cmake option in Paraview, never in VTK itself. Since this option adds the GIL locks that are required for any Python concurrency via PyEval_SaveThread()/PyEval_RestoreThread(), it should be useful within a broad range of VTK projects. The VTK_NO_PYTHON_THREADS option is an older option that was available in VTK 5 but disappeared in VTK 6, though it still appeared in the C++ source files and in Paraview's CMakeLists.txt.
Showing
- CMakeLists.txt 8 additions, 0 deletionsCMakeLists.txt
- Documentation/docs/build_instructions/build_settings.md 4 additions, 0 deletionsDocumentation/docs/build_instructions/build_settings.md
- Documentation/release/dev/python-thread-options.md 8 additions, 0 deletionsDocumentation/release/dev/python-thread-options.md
- Utilities/Python/vtkPython.h 1 addition, 1 deletionUtilities/Python/vtkPython.h
- Utilities/Python/vtkPythonConfigure.h.in 3 additions, 1 deletionUtilities/Python/vtkPythonConfigure.h.in
Loading
Please register or sign in to comment