- another attempt to have thread stability

This commit is contained in:
Mark Vejvoda 2010-06-18 17:21:54 +00:00
parent 60c6848832
commit 7fb136890c
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ void BaseThread::shutdownAndWait(BaseThread *pThread) {
sleep(1);
//SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
}
sleep(1);
//sleep(0);
SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
}
sleep(0);

View File

@ -25,7 +25,7 @@ Thread::Thread() {
Thread::~Thread() {
if(thread != NULL) {
SDL_WaitThread(thread, NULL);
//SDL_WaitThread(thread, NULL);
}
}