- attempt to fix problem with hanging sleep
This commit is contained in:
parent
8d6e33d4ba
commit
158acea0b5
|
@ -551,7 +551,6 @@ void ServerInterface::update() {
|
|||
bool updateFinished = (connectionSlot != NULL ? connectionSlot->updateCompleted() : true);
|
||||
if(updateFinished == false) {
|
||||
threadsDone = false;
|
||||
sleep(0);
|
||||
break;
|
||||
}
|
||||
else {
|
||||
|
@ -565,6 +564,9 @@ void ServerInterface::update() {
|
|||
}
|
||||
}
|
||||
}
|
||||
//if(threadsDone == false) {
|
||||
// sleep(0);
|
||||
//}
|
||||
}
|
||||
|
||||
SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s Line: %d] ============ Step #3\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
|
|
Loading…
Reference in New Issue
Block a user