On Mon, Nov 3, 2008 at 6:12 PM, Robert Osfield <[EMAIL PROTECTED]> wrote:
>
> If this all fails then it looks like there is a bug in ReentrantMutex.

Hmm, looking at it, I wonder why the thread checking is disabled in
the unlock path? Is it for performance reasons? (couldn't find the
relevant svn comment) Don't think this could cause deadlock, rather
quite the opposite.
Also, is the _lockCountMutex at all necessary? At first glance the
_lockCount value is only ever modified from the owner thread and that
can not cause problems.

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

Reply via email to