All, After further invesigation on why my thread is hanging, I narrowed it down to when OSG creates an IntersectorGroup() object via the 'new' operator in the intersection code.
Just for a sanity check, I did the following in the run() method of my thread: char *start = (char *)malloc(4) and it never returns after I issue the malloc() call. It would appear that 'new' or malloc() hangs the thread. Do I need to do use some sort of special memory management scheme in OpenThreads when it comes to dynamic memory allocation? As stated earlier, I'm new to threaded programming so I'm probably failing to do something that is needed in the case of dynamic memory allocation in a thread... Thank you! Shayne ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33831#33831 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

