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

Charl P. Botha cpbotha at gmail.com
Wed Jun 15 17:03:40 EDT 2005


Hi David,

On 6/15/05, David Gobbi <dgobbi at atamai.com> wrote:
> It sounds good.  The only question I have is about observers.  What happens
> when a python function has been set as an observer for a VTK event?
> Have you changed the code for vtkPythonCommand::Execute() to do all
> the proper locking and unlocking?  (Note: vtkPythonCommand is in
> vtkPythonUtils.cxx).

Damn, you're good!  I just went for a thinking-break after posting my
mail and then this dawned on me as well.  I'm going to take a look at
it now.  I'll post again when I know more.

--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/

c.p.botha ||at|| ewi.tudelft.nl - tu delft work-related email
cpbotha ||at|| cpbotha.net - everything else


-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/

c.p.botha ||at|| ewi.tudelft.nl - tu delft work-related email
cpbotha ||at|| cpbotha.net - everything else



More information about the vtk-developers mailing list