Changed Font's mutex to become a static mutex shared between all instances of Font.

This ensures single threaded access of the freetype plugin.
This commit is contained in:
Robert Osfield
2007-09-01 15:24:22 +00:00
parent 13faad13e8
commit 3304646c4c
4 changed files with 12 additions and 10 deletions

View File

@@ -164,7 +164,7 @@ public:
typedef OpenThreads::Mutex FontMutex;
/** Get the mutex that enables the serialization of calls to this font.*/
FontMutex* getSerializeFontCallsMutex() const { return &_serializeFontCallsMutex; }
static FontMutex* getSerializeFontCallsMutex();
protected: