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