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: "Jason Short" <jshort@xxxxxxxxxxxxxx>
Date: Sun, 4 Apr 2004 19:28:28 -0700
Reply-to: rt@xxxxxxxxxxx

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


>> - 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.

But they are enabled by default!

Currently we have

  #ifndef NDEBUG

for them.  We could change it to

  #if !defined DEBUG || defined DEVELOPMENT_VERSION

or something.  Also the help text should be change from

  N_("blah blah blah.  And development servers can use -1.")

to

#ifdef AUTOGAMES
  N_("blah blah blah.  A setting of -1 means whatever.")
#else
  /* TRANS: same as blah blah blah above.
  N_("blah blah blah.");
#endif

>> - 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?

No, I don't want a 0.1 second timeout.  I want a 4-second timeout to mean
4 seconds, not sometimes 3.2 and sometimes 4.9.

jason




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