From a3c290240ccbe8e1392ea15985cd6ccf5b2ff0f5 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 26 Mar 2011 00:38:26 +0000 Subject: [PATCH] - removed sleep when waitinf for exit of crc thread --- source/glest_game/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/main/main.cpp b/source/glest_game/main/main.cpp index 96fd6e2f..9944a1fb 100644 --- a/source/glest_game/main/main.cpp +++ b/source/glest_game/main/main.cpp @@ -2122,7 +2122,7 @@ int glestMain(int argc, char** argv) { preCacheThread->signalQuit(); for(;preCacheThread->canShutdown(false) == false && difftime(time(NULL),elapsed) <= 15;) { - sleep(50); + //sleep(150); } } SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);