diff --git a/src/osgDB/DatabasePager.cpp b/src/osgDB/DatabasePager.cpp index 784f32532..d95b77cf3 100644 --- a/src/osgDB/DatabasePager.cpp +++ b/src/osgDB/DatabasePager.cpp @@ -260,12 +260,15 @@ void DatabasePager::run() } - // hack hack hack... sleep for 1ms so we give other threads a chance.. - #ifdef WIN32 - Sleep(1); - #else - usleep(1000); - #endif +// // hack hack hack... sleep for 1ms so we give other threads a chance.. +// #ifdef WIN32 +// Sleep(1); +// #else +// usleep(1000); +// #endif + + yield(); + } cancel();