Thanks Mathias, fix merged and submitted to SVN.

On Tue, Dec 16, 2008 at 2:35 PM, Mathias Fröhlich
<[email protected]> wrote:
>
> Hi Robert,
>
> 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.
>
> Please apply
>
> Thanks!
>
> Mathias
>
> --
> Dr. Mathias Fröhlich, science + computing ag, Software Solutions
> Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
> Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
> --
> Vorstand/Board of Management:
> Dr. Bernd Finkbeiner, Dr. Florian Geyer,
> Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
> Vorsitzender des Aufsichtsrats/
> Chairman of the Supervisory Board:
> Prof. Dr. Hanns Ruder
> Sitz/Registered Office: Tuebingen
> Registergericht/Registration Court: Stuttgart
> Registernummer/Commercial Register No.: HRB 382196
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to