is itk::invoke Must single thread ?

I have a ui, and then a registration module. I start a thread in the registration module. When the registration ends, I invoke an event to be handled by the ui, but there are always some error messages.

I think this is more of a GUI/visualization problem, than processing/ITK one. Maybe this question is better suited for VTK forum?

Yes, you are right. The problem is that I call the rendering of the ui thread by another sub-thread, which leads to an error in opengl

1 Like