Hi Stefan,

if I remember correctly, the ReentrantMutex came into existence because on Windows the normal Mutex was reentrant (a single thread could lock it more than once). So ReentrantMutex was created to make a consistent mutex on all platforms...

jp

Stefan Eilemann wrote:
Robert, all,

I've got it running by replacing the 'ReentrantMutex
s_contextIDMapMutex' with a normal Mutex in
osg/GraphicsContext.cpp:246. I'll send you the whole file on
osg-submissions in a minute.

I'll do some more testing, and probably create an
OpenThreads::createForCurrentThread() if I hit more issues. Somebody
suggested using SceneView in an offline email to me, but I'm not sure
if this is a good approach since it is marked deprecated. Any
opinions?


Cheers,

Stefan.


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to