Glenn, Thank you for your reply.
On Wed, Sep 11, 2013 at 4:22 AM, Glenn Waldron <[email protected]> wrote: > Are you using multiple Viewers, or are you using multiple Views under a > CompositeViewer? I am experimenting with both of these techniques. When I use the CompositeViewer my views turn "purple" after a couple iterations of adding/removing views. > I'm not sure running 2 Viewers that point at the same graph > is entirely safe. This is very interesting to me and I am happy you mentioned it. Oddly, I get strange results when using the "safe" approach. But the strange results may have to do with me adding/removing views at runtime. I wonder if my strange results is because: a) I run my viewers single threaded b) I add/remove views while not calling Viewer::frame c) I thought I was being thread-safe d) low and behold it turns out that a databasePager thread is started and stopped by someone (i don't know who) at some times (I do not know when) which might be conflicting with (b). All this is leading me to ask questions about the DatabasePager: When is the DatabasePager created? When is the DatabasePager destroyed? Is the DatabasePager attached to a view or a graph? Is adding and removing many/all views at runtime thread-safe with respect to the DatabasePager? Thank you again, Chris _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

