[freeciv-ai] Re: FreeCiv brief analysis
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|