[Freeciv-Dev] (PR#11768) Unrespansiveness at Win98
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11768 >
Although I've never actually had the client lock up completely, it does
occasionally freeze for a few seconds on me while it's parsing all the
incoming packets.
The situation is that the network code is placing messages onto the
windows message queue faster than the main loop can respond to them.
This leads to user interface messages getting lost.
Here's a patch that changes the main loop. Instead of putting the
network code on a timer, it calls it once, then it deals with all the
messages on the win32 message queue. It still occasionally freezes, but
with much less frequency.
-James Canete
win32-changewin32msgloop.diff
Description: Binary data
|
|