[vtk-developers] Patch to vtkWrapPython.c to make wrapped Python code GIL-friendly

Prabhu Ramachandran prabhu_r at users.sf.net
Thu Jun 16 02:57:52 EDT 2005


>>>>> "Charl" == Charl P Botha <cpbotha at gmail.com> writes:

    Charl> Please have a look at the attached three diff files with
    Charl> modifications to vtkPythonUtil.cxx, vtkPythonUtil.h and
    Charl> vtkWrapPython.c.  Tested on Linux, VTK threads run
    Charl> concurrently, observers are fired without any problems.

    Charl> All comments welcome!

Thanks for this patch!  My only suggestion is that you add a test case
to ensure that folks have something to test with and report problems
if they run into one.

cheers,
prabhu

p.s. thanks also for tracking down the various issues with the wx VTK
interactor widget (including issues with the wxPython-2.6.x).



More information about the vtk-developers mailing list