Hi Max,
I just run your code on my Kubuntu 7.10 64bit, Intel quad core system and got:
OpenThreads::CurrentThread: 0x6030e0
start!
OpenThreads::CurrentThread: 0x6030e0
OpenThreads::CurrentThread: 0x6030e0
The complete code is listed below.
Which version of the OSG do find problems with? What is the exact
machine/OS combination are you using?
As an experiment could you modify the ReentrantMutext() so that the
_threadHoldingMutex member variable is set to something like
0xffffffff.
Robert.
--
#include <osgDB/ReadFile>
#include <iostream>
using namespace std;
int main(int argc, char** argv)
{
cout << "OpenThreads::CurrentThread: " <<
OpenThreads::Thread::CurrentThread() << endl;
osg::ArgumentParser arguments(&argc,argv);
cout << "start!" << endl;
cout << "OpenThreads::CurrentThread: " <<
OpenThreads::Thread::CurrentThread() << endl;
osg::ref_ptr<osg::Node> loadedModel = osgDB::readNodeFiles(arguments);
cout << "OpenThreads::CurrentThread: " <<
OpenThreads::Thread::CurrentThread() << endl;
}
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org