From Mathias Froehilch, " On OpenThreads win32 implementation we unconditionally unlock a mutex in the destructor. That happens even if the mutex was not locked before. When running a osg application within microsofts application verifier, that software checks tells me that we should not unlock an unlocked mutex.
From Mathias Froehilch, "
On OpenThreads win32 implementation we unconditionally unlock a mutex in the
destructor. That happens even if the mutex was not locked before.
When running a osg application within microsofts application verifier, that
software checks tells me that we should not unlock an unlocked mutex.

When I look at the posix threads mutex implementation, which does no unlock in
the destructor and where it is illegal to destroy a locked mutex, I conclude
that it is not needed for an OpenThreads::Mutex to do that unlock in the
win32 Mutex destructor.

Thus this patch based on rev 9358 removes that additional unlock in the win32
mutex implementations destructor."


scrawl/osg,tomasthoresen/osg,marchelbling/osg,openscenegraph/osg,jtorresfabra/osg,artoolkit/osg,scrawl/osg,artoolkit/osg,marchelbling/osg,jtorresfabra/osg,openscenegraph/osg,openscenegraph/osg,tomasthoresen/osg,scrawl/osg,marchelbling/osg,jtorresfabra/osg,artoolkit/osg,artoolkit/osg,marchelbling/osg,openscenegraph/osg,tomasthoresen/osg,jtorresfabra/osg,scrawl/osg,tomasthoresen/osg