Moved OpenThreads::Threads::Yield() calls across to new

OpenThreads::Threads::YieldCurrentThread() naming.
This commit is contained in:
Robert Osfield
2003-08-21 09:52:12 +00:00
parent 7b9de3ad91
commit e46d1cf941
2 changed files with 5 additions and 7 deletions

View File

@@ -33,8 +33,7 @@ DatabasePager::~DatabasePager()
while(isRunning())
{
std::cout<<"Waiting for RenderSurface to cancel"<<std::endl;
//OpenThreads::Thread::YieldCurrentThread();
OpenThreads::Thread::Yield();
OpenThreads::Thread::YieldCurrentThread();
}
}
@@ -285,7 +284,7 @@ void DatabasePager::run()
}
// go to sleep till our the next time our thread gets scheduled.
Yield();
YieldCurrentThread();
}