mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 15:41:24 +02:00
- removed sleep when waitinf for exit of crc thread
This commit is contained in:
@@ -2122,7 +2122,7 @@ int glestMain(int argc, char** argv) {
|
|||||||
preCacheThread->signalQuit();
|
preCacheThread->signalQuit();
|
||||||
for(;preCacheThread->canShutdown(false) == false &&
|
for(;preCacheThread->canShutdown(false) == false &&
|
||||||
difftime(time(NULL),elapsed) <= 15;) {
|
difftime(time(NULL),elapsed) <= 15;) {
|
||||||
sleep(50);
|
//sleep(150);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
|
Reference in New Issue
Block a user