Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2005:
[Freeciv-Dev] (PR#12244) gui-win32: support for real_timer_callback() re
Home

[Freeciv-Dev] (PR#12244) gui-win32: support for real_timer_callback() re

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12244) gui-win32: support for real_timer_callback() return value
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Sun, 13 Feb 2005 18:02:03 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12244 >

This patch throws out the old win32 timer callback functions, and
instead uses a freeciv timer to determine when to call
real_timer_callback.  My rationale for this is that the win32 timers
simply add a message to the win32 message queue, and I'd rather deal
with the timing myself. :)

This patch also improves the behavior of calling an idle function, only
calling it when all queues are empty.

-James Canete

Attachment: win32-timercallback.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12244) gui-win32: support for real_timer_callback() return value, James Canete <=