[vtkusers] VTK Renderer multithread problem

maaschn maaschn at web.de
Thu Nov 21 10:34:26 EST 2013


Hello,

I've got a multithread application in which one thread collects points and
fills them into a polydata object which it gets passed in the constructor
from the main thread which keeps the pipeline. I am using Qt and a Mutex
lock. It nevertheless happens from time to time that my application crashes
when the Renderer calls the render funtion. Then there is an unvalid cell id
while transversing the polydata. I think it must have something to do with a
collision between those two threads. Has some experienced something alike?
Or does someone knows what I could do to get this method threadsafe?



Thanks in advance

Maaschn



--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-Renderer-multithread-problem-tp5724554.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list