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

Prabhu Ramachandran prabhu_r at users.sf.net
Mon Jul 4 07:58:05 EDT 2005


>>>>> "SN" == Sander Niemeijer <niemeijer at science-and-technology.nl> writes:

    SN> My question is: is there a reason why (at least for Python 2.3
    SN> and up) these functions are not used to properly grab the GIL?
    >>
    SN> More info about the PyGILState functions can also be found in
    SN> the PEP <http://python.fyxm.net/peps/pep-0311.html>
    >>
    >> I am not sure why this has not been accepted into the core.
    >> Google does not seem to offer any help.

    SN> I am not sure what you mean. If you mean implementation of the

Neither am I. ;-) I did not realize the patch was checked in and is
available with Python-2.3.  Sorry for the noise.

cheers,
prabhu



More information about the vtk-developers mailing list