From 1b5b663331a2ba8711c7f79dd7431bdb870b7b56 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Thu, 17 Jun 2010 08:12:02 +0000 Subject: [PATCH] - small update to event pump --- source/shared_lib/sources/platform/common/simple_threads.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/shared_lib/sources/platform/common/simple_threads.cpp b/source/shared_lib/sources/platform/common/simple_threads.cpp index 05d37178c..c7156b95f 100644 --- a/source/shared_lib/sources/platform/common/simple_threads.cpp +++ b/source/shared_lib/sources/platform/common/simple_threads.cpp @@ -165,10 +165,9 @@ void PumpSDLEventsTaskThread::execute() { SystemFlags::OutputDebug(SystemFlags::debugNetwork,"SDL_PumpEvents thread is running\n"); try { - unsigned int idx = 0; for(;getQuitStatus() == false;) { SDL_PumpEvents(); - sleep(100); + sleep(25); } SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);