Hi Robert, On 26. Feb 2010, at 10:02, Robert Osfield wrote:
> At the end of last week I checked in a refactor of > OpenThreads::ReentrantMutex and Mutex so that the implementation of > recursive/reentrant mutex is left to the underlying threading library (i.e. > pthreads) rather than using OpenThreads code to attempt to implement it. > This refactor does away with the need to CurrentThread() etc, so code that > works with the standard Mutex should now work just fine the new > ReentrantMutex. I was wondering about the 'interesting' approach taken by OpenThreads to implement a reentrant mutex, but since I didn't know the history I was reluctant to change it. > Could you try the OSG-2.9.7 release of svn/trunk and see if the problem you > were seeing still exists? I'm hopefully that we won't need any mods to the > OSG such as in your suggestion of changing the ReentrantMutex to a Mutex. Correct, it works now without modifications to GraphicsContext. Cheers, Stefan. -- http://www.eyescale.ch http://www.equalizergraphics.com http://www.linkedin.com/in/eilemann _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

