Updated OSG to use OpenThreads. Moved any references to OpenThread to

OpenThreads and removed any dependency on Producer threads, Mutexes, etc.
This commit is contained in:
Don BURNS
2003-07-19 00:18:07 +00:00
parent 23fc1900ce
commit 56a13abc05
8 changed files with 29 additions and 33 deletions

View File

@@ -11,8 +11,9 @@
* OpenSceneGraph Public License for more details.
*/
#include <OpenThreads/Mutex>
#include <osgProducer/OsgSceneHandler>
#include <Producer/Mutex>
using namespace osgUtil;
using namespace osgProducer;
@@ -24,7 +25,7 @@ OsgSceneHandler::OsgSceneHandler( osg::DisplaySettings *ds) :
void OsgSceneHandler::init()
{
static Producer::Mutex mutex;
static OpenThreads::Mutex mutex;
osg::notify(osg::INFO)<<"entering "<<this<<" init."<<std::endl;
mutex.lock();
osg::notify(osg::INFO)<<" running "<<this<<" init."<<std::endl;