Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#8429) timeout setting
Home

[Freeciv-Dev] Re: (PR#8429) timeout setting

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: richih@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8429) timeout setting
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Fri, 2 Apr 2004 07:25:58 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8429 >

On Tue, Mar 30, 2004 at 05:15:09PM -0800, Jason Short wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8429 >
> 
> Jason Short wrote:
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=8429 >
> > 
> >>[kauf - Tue Mar 30 21:48:47 2004]:
> >>
> >>On Tue, Mar 30, 2004 at 01:07:33PM -0800, Jason Short wrote:
> >>
> >>>A timeout of -1 is a debug setting to mean an instant timeout.  It
> >>>shouldn't be possible to set this except when DEBUG is set.
> >>
> >>we've had this discussion in the past and it used to be the case as far as
> >>I can recall. A change for the better in my opinion. It's simply too
> >>annoying to have to enable debugging simply to run an autogame.
> > 
> > 
> > Err, so now it's enabled unless NDEBUG is set.

> > Perhaps when a game is started with timeout -1 an extra message should
> > be printed?

Yes.

> It seems to me like timeouts are broken.
> 
> - A timeout of -1 shouldn't mean command-line input is ignored.  It 
> should just mean the server doesn't wait for it.

You mean "input from stdin" instead of "command-line input"?!

I disagree since autogames are development feature. Read
you-should-know-what-you-are-doing.

> - Timeouts are measured with 1-second accuracy only.  Surely we should 
> use the timer code for this...

You want timeouts which fractions of a second? And why?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  The Software is not designed or licensed for use in on-line control
  equipment in hazardous environments, such as operation of nuclear
  facilities, aircraft navigation or control, or direct life support
  machines. 
    -- Java Compiler Compiler Download and License Agreement




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