[Freeciv-Dev] Re: (PR#7229) Re: Re: Freeciv commit: ali: Add macro is_
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7229 >
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7229 >
>
> On Sat, Jan 10, 2004 at 12:52:26PM -0800, Jason Short wrote:
>> > Do you expect a piece of silicon to generate an interrupt precisely
>> > at L1 which may change punit_focus via a GTK timer?
>>
>> This is wrong on many levels.
>>
>> 2. Freeciv clients are single-threaded, so there will never be an
>> interrupt to change the value at L1.
>
> Don't be sure in this regard. If the (gtk) timer is implemented with
> alarm(2) or similar and not select(2) it isn't single-threaded. Also
> the SDL client uses multiple threads. However I'm not sure here about
> the impact.
In that case large portions of the client need to be rewritten. In this
case, neither form will work without locking the focus unit first.
jason
- [Freeciv-Dev] Re: (PR#7229) Re: Re: Freeciv commit: ali: Add macro is_city_hilited()., Jason Short, 2004/01/10
- [Freeciv-Dev] Re: (PR#7229) Re: Re: Freeciv commit: ali: Add macro is_city_hilited()., Raimar Falke, 2004/01/10
- [Freeciv-Dev] Re: (PR#7229) Re: Re: Freeciv commit: ali: Add macro is_city_hilited().,
Jason Short <=
- [Freeciv-Dev] Re: (PR#7229) Re: Re: Freeciv commit: ali: Add macro is_city_hilited()., Arnstein Lindgard, 2004/01/11
- [Freeciv-Dev] Re: (PR#7229) Re: Re: Freeciv commit: ali: Add macro is_city_hilited()., Raimar Falke, 2004/01/11
- [Freeciv-Dev] Re: (PR#7229) Re: Re: Freeciv commit: ali: Add macro is_city_hilited()., Jason Short, 2004/01/11
- [Freeciv-Dev] Re: (PR#7229) Re: Re: Freeciv commit: ali: Add macro is_city_hilited()., Arnstein Lindgard, 2004/01/11
- [Freeciv-Dev] Re: (PR#7229) Re: Re: Freeciv commit: ali: Add macro is_city_hilited()., rwetmore@xxxxxxxxxxxx, 2004/01/14
|
|