Updated wrappers

This commit is contained in:
Robert Osfield
2006-12-27 23:19:37 +00:00
parent 11fef2d75e
commit d7e3ed3fb2
18 changed files with 293 additions and 152 deletions

View File

@@ -67,13 +67,8 @@ class OSGDB_EXPORT ReadWriteMutex
ReadWriteMutex(const ReadWriteMutex&) {}
ReadWriteMutex& operator = (const ReadWriteMutex&) { return *(this); }
#if 1
ReentrantMutex _readWriteMutex;
ReentrantMutex _readCountMutex;
#else
OpenThreads::Mutex _readWriteMutex;
OpenThreads::Mutex _readCountMutex;
#endif
unsigned int _readCount;
};