Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#3424) New flush code

[Freeciv-Dev] Re: (PR#3424) New flush code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bursig@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3424) New flush code
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Feb 2003 02:22:37 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Raimar Falke wrote:
> On Thu, Feb 27, 2003 at 01:39:17AM -0800, Jason Short wrote:

>>I've added this form of support for GTK, XAW, and Win32, while removing 
>>the flush_dirty calls from these GUIs.
> The semantics in the gtk case are described well based on
> gtk_idle_add. However in the xaw and win32 case is there something in
> the docu which says that the callbacks are put at the end of the event
> queue? Is there something which says that these callbacks aren't
> immediately if the timeout if 0? If this isn't the case we can remove
> the callbacks and call it directly.

If it does call them immediately, I would consider that a serious bug in 
the library.  An unsuspecting program would quickly break if it had to 
be re-entrant in some cases but not in others.

Aside from that, I can only leave this to the GUI authors to solve.


[Prev in Thread] Current Thread [Next in Thread]