Fixed hang using a ReentrantMutex
This commit is contained in:
parent
b94c797ed6
commit
c4819427fa
@ -28,7 +28,7 @@
|
|||||||
#include <osgText/KerningType>
|
#include <osgText/KerningType>
|
||||||
#include <osgText/Style>
|
#include <osgText/Style>
|
||||||
|
|
||||||
#include <OpenThreads/Mutex>
|
#include <OpenThreads/ReentrantMutex>
|
||||||
|
|
||||||
namespace osgText {
|
namespace osgText {
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ protected:
|
|||||||
typedef std::vector< osg::ref_ptr<TextureInfo> > TextureInfoList;
|
typedef std::vector< osg::ref_ptr<TextureInfo> > TextureInfoList;
|
||||||
TextureInfoList _textureInfoList;
|
TextureInfoList _textureInfoList;
|
||||||
|
|
||||||
mutable OpenThreads::Mutex _textureInfoListMutex;
|
mutable OpenThreads::ReentrantMutex _textureInfoListMutex;
|
||||||
};
|
};
|
||||||
|
|
||||||
class OSGTEXT_EXPORT GlyphGeometry : public osg::Referenced
|
class OSGTEXT_EXPORT GlyphGeometry : public osg::Referenced
|
||||||
|
Loading…
Reference in New Issue
Block a user