- added initial work to better manage rendering (but not yet enabled)

- added new commandline parameter: --version
- some thread cleanup to try adjusted timings when threads shutdown
This commit is contained in:
Mark Vejvoda
2010-06-15 16:27:52 +00:00
parent 5356a3de23
commit c7c9e69567
14 changed files with 394 additions and 298 deletions

View File

@@ -97,11 +97,13 @@ void BaseThread::shutdownAndWait(BaseThread *pThread) {
if(pThread->getRunningStatus() == false) {
break;
}
sleep(0);
sleep(1);
//SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
}
sleep(1);
SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
}
sleep(0);
SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
}