mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
- attempt to help client wait for network packets better
This commit is contained in:
@@ -840,6 +840,10 @@ void ClientInterface::waitForMessage()
|
||||
close();
|
||||
return;
|
||||
}
|
||||
// Sleep ever second we wait to let other threads work
|
||||
else if(chrono.getMillis() % 1000 == 0) {
|
||||
sleep(0);
|
||||
}
|
||||
|
||||
//sleep(waitSleepTime);
|
||||
waitLoopCount++;
|
||||
|
Reference in New Issue
Block a user