[vtkusers] pthread with vtk

Chris Scharver scharver at evl.uic.edu
Wed Mar 3 11:26:10 EST 2004


On Mar 3, 2004, at 3:16 AM, S.Joung wrote:

> Can anyone help?
> I want to use a pthread with a VTK.
> The program and the error is attached.

VTK never calls XInitThreads(), so you should probably make sure that 
you call it so that X11 is initialized for threading. As for whether 
everything will work fine beyond that, I haven't tried it. I use VTK 
from separate threads, but I'm not using a vtkRenderer.

Chris.

--
Chris Scharver
Electronic Visualization Laboratory
The University of Illinois at Chicago
Ph: 312-996-3002   FAX: 312-413-7585
<http://www.evl.uic.edu/scharver/>




More information about the vtkusers mailing list