[vtkusers] a question vtk, python and threading

Lic. José M. Rodriguez Bacallao jmrbcu at gmail.com
Fri Jan 29 14:45:42 EST 2010


well, I've digged in the source code in vtk 5.4.2 and it is not done
yet, maybe for the next release, this patch rocks. For now, I have
patched the source of vtk 5.4.2 with the patches provided by DRE and
it seems to work very well as long as U don't have any python
observers listening for events in a vtk object created in another
thread, you cuold only observe in the same thread that created the
observed object. Besides that, everything work like a charm until now.

On 1/29/10, David Gobbi <david.gobbi at gmail.com> wrote:
> If Charl was still active on the list, I'm sure he would have a quick
> answer, but it seems that no-one who is familiar with the GIL in VTK
> is responding.  So your best bet is to look at the source code and
> find out the answer yourself.
>
>    David
>
>
> On Fri, Jan 29, 2010 at 11:41 AM, Lic. José M. Rodriguez Bacallao
> <jmrbcu at gmail.com> wrote:
>> no one?
>>
>> On 1/28/10, Lic. José M. Rodriguez Bacallao <jmrbcu at gmail.com> wrote:
>>> hi folks, just a little question: Is the patch from Charl Botha leader
>>> of DRE project to vtk python wrappers on the threading section
>>> (release the GIL when calling vtk method) applied in the standard vtk?
>>> if no, why, there are any caveats?
>>>
>>> --
>>> Lic. José M. Rodriguez Bacallao
>>> Centro de Biofisica Medica
>>> -----------------------------------------------------------------
>>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
>>> mismo.
>>>
>>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>>> por profesionales
>>> -----------------------------------------------------------------
>>>
>>
>>
>> --
>> Lic. José M. Rodriguez Bacallao
>> Centro de Biofisica Medica
>> -----------------------------------------------------------------
>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
>> mismo.
>>
>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>> por profesionales
>> -----------------------------------------------------------------
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>


-- 
Lic. José M. Rodriguez Bacallao
Centro de Biofisica Medica
-----------------------------------------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.

Recuerda: El arca de Noe fue construida por aficionados, el titanic
por profesionales
-----------------------------------------------------------------



More information about the vtkusers mailing list