Hi Robert,

I think that it has nothing to do with Clang or GCC. I did some further 
investigations and probably found the bug. In DatabasePager::requestNodeFile 
you find the following code:

Code:
    if (!_startThreadCalled)
    {
        OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_run_mutex);

        if (!_startThreadCalled)
        {
            _startThreadCalled = true;
            _done = false;
            OSG_INFO<<"DatabasePager::startThread()"<<std::endl;

            if (_databaseThreads.empty())
            {
                setUpThreads(
                    
osg::DisplaySettings::instance()->getNumOfDatabaseThreadsHint(),
                    
osg::DisplaySettings::instance()->getNumOfHttpDatabaseThreadsHint());
            }

#if 0
                                        for(DatabaseThreadList::const_iterator 
dt_itr = _databaseThreads.begin();
                dt_itr != _databaseThreads.end();
                ++dt_itr)
            {
                (*dt_itr)->startThread();
            }
#endif




Thank you!

Cheers,
Hartwig

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73162#73162





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to