Complete.Org: Mailing Lists: Archives: freeciv-ai: April 2004:
[freeciv-ai] Re: FreeCiv brief analysis
Home

[freeciv-ai] Re: FreeCiv brief analysis

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx>
Cc: nikodimka <nikodimka@xxxxxxxxx>, <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] Re: FreeCiv brief analysis
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Fri, 2 Apr 2004 21:17:03 +0100 (WET DST)

On Fri, 2 Apr 2004, Raimar Falke wrote:

> On Thu, Apr 01, 2004 at 05:50:22AM -0800, nikodimka wrote:
> > In regards of locking:
> >
> > a human player does not ever lock the civclient? right?
>
> No. Yes.
>
> > so not every kind of an external program does need to lock.
>
> I think a lot of external programs want to make multiple queries at
> the common client data and want to not have it change from one query
> to the next.
>
> > Anyways I have to think the locking through a little bit more.  For
> > the first look it seems that a pair of "lock" and "unlock" commands
> > would suffice.
>
> Yes.

I would like if someone explained me some more why this functionality is
required. Making the code exponentially harder to debug for little gain is
always a poor idea.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa



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