<div dir="ltr">Robert,<div>I would like to make you aware of two thread-safety issues in osgText:</div><div><br></div><div>
<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Font::getGlyph() is thread-safe, but it returns a shared Glyph object that also needs protection.<span> </span></span>
Glyph::getOrCreateTextureInfo, getTextureInfo, and setTextureInfo can fail when creating Text objects from different threads.</div><div><br></div><div>Font::getCachedStateSets() returns a container that can be modified by the Text::createStateSet() method. This container also needs mutex protection.</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Glenn Waldron</div></div></div></div></div></div></div>