Removed all references to sleep/usleep.

This commit is contained in:
Robert Osfield 2003-07-23 21:32:11 +00:00
parent 70db0608a9
commit c404bd09ed

View File

@ -18,12 +18,6 @@
using namespace txp; using namespace txp;
using namespace osg; using namespace osg;
#if defined(WIN32)
#define sleep(x) Sleep((x))
#else
#define sleep(x) usleep((x)*1000)
#endif
OSGPageManager::OSGPageManager(TrPageArchive *in_arch,trpgPageManager *in_pageManage) OSGPageManager::OSGPageManager(TrPageArchive *in_arch,trpgPageManager *in_pageManage)
{ {
archive = in_arch; archive = in_arch;
@ -291,7 +285,6 @@ bool OSGPageManager::ThreadLoop(PagingThread* t)
} }
else else
{ {
//sleep(10);
OpenThreads::Thread::Yield(); OpenThreads::Thread::Yield();
} }