Hi Robert,

On Monday 02 March 2009 11:52, Robert Osfield wrote:
> Thanks Mathias, fix merged and submitted to svn/trunk and OSG-2.8 branch.
Thanks!

> Does this fix address a bug that you saw?  What were the symptoms?
Yes, this does.
Sorry, I should have noted that in the submission.

The problem is that the OpenThreads::Thread::curentThread() function is called 
in some static initialization routine which tries to lock a recursive mutex. 
But at this time the static initializer for the TLS thing was not yet called. 
By using a factory like initializer, I can make sure that we have a valid TLS 
index in our hands independent of initialization orders.

Greetings

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. Roland Niemeier, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Michel Lepert
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

Reply via email to