[Paraview-developers] VTK_NO_PYTHON vs VTK_PYTHON_FULL_THREADSAFE

Chris Harris chris.harris at kitware.com
Thu Sep 1 11:58:36 EDT 2016


Can someone clear up what these two CMake options are for? It seems the
ParaView has VTK_PYTHON_FULL_THREADSAFE as a dependant option that can only
be enable if VTK_NO_PYTHON is off.

I am asking because I would like to know which should be used to
selectively compile GIL locks and releases.

It seems that VTK_NO_PYTHON is used here:

https://github.com/Kitware/VTK/blob/master/Utilities/Python/vtkPython.h#L107-L112

and

VTK_PYTHON_FULL_THREADSAFE is used here:

https://github.com/Kitware/VTK/blob/master/Utilities/Python/vtkPython.h#L131-L134


It seems the VTK_PYTHON_FULL_THREADSAFE was added relatively recently.

Thanks,


Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20160901/7ed0fe62/attachment.html>


More information about the Paraview-developers mailing list