Re: [osg-users] Mutex and ReentrantMutex

2007-12-01 Thread Robert Osfield
On Nov 30, 2007 10:16 PM, André Garneau [EMAIL PROTECTED] wrote: Hi Paul, 1. I always understood reentrant to refer to code or an object that could be executed safely by multiple threads or processes. However, the ReentrantMutex would only be used for code that is safe for the _same_

Re: [osg-users] Mutex and ReentrantMutex

2007-11-30 Thread André Garneau
Hi Paul, 1. I always understood reentrant to refer to code or an object that could be executed safely by multiple threads or processes. However, the ReentrantMutex would only be used for code that is safe for the _same_ thread or process to execute concurrently, thus my confusion. Is the name

Re: [osg-users] Mutex and ReentrantMutex

2007-11-30 Thread Jeremy Moles
On Fri, 2007-11-30 at 13:45 -0600, Thrall, Bryan wrote: Paul Martz wrote on Friday, November 30, 2007 1:28 PM: 1. I always understood reentrant to refer to code or an object that could be executed safely by multiple threads or processes. However, the ReentrantMutex would only be used for

Re: [osg-users] Mutex and ReentrantMutex

2007-11-30 Thread Thrall, Bryan
Paul Martz wrote on Friday, November 30, 2007 1:28 PM: 1. I always understood reentrant to refer to code or an object that could be executed safely by multiple threads or processes. However, the ReentrantMutex would only be used for code that is safe for the _same_ thread or process to execute

Re: [osg-users] Mutex and ReentrantMutex

2007-11-30 Thread André Garneau
: November-30-07 11:45 AM To: 'OpenSceneGraph Users' Subject: [osg-users] Mutex and ReentrantMutex (Temporary brain cramp, because I know I knew this at one point...) Can someone explain the difference between Mutex and ReentrantMutex? The code comments are practically non-existent, the code itself

[osg-users] Mutex and ReentrantMutex

2007-11-30 Thread Paul Martz
(Temporary brain cramp, because I know I knew this at one point...) Can someone explain the difference between Mutex and ReentrantMutex? The code comments are practically non-existent, the code itself seems somewhat un-illuminating, and the ChangeLog just says things like Added ReentrantMutex to