[vtkusers] vkt and threading

Cory Quammen cory.quammen at kitware.com
Thu Sep 24 10:23:58 EDT 2015


Dejan,

If you can, it is not easy to get right. In general, you have to be very
careful when multithreading with VTK. While some parts of VTK are thread
safe, most are not.

In projects I've encountered, VTK runs in the main thread and run
potentially long-running processing tasks on other threads.

HTH,
Cory


On Thu, Sep 24, 2015 at 5:06 AM, Dejan Zivkovic <dejan.zivkovic90 at gmail.com>
wrote:

> Hi,
>
> Is it possible to update and render
> vtk scene from non-main thread?
>
> Thanks,
> Dejan
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150924/e8cf9cdb/attachment.html>


More information about the vtkusers mailing list