unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Subject: Re: get-internal-real-time using times()
Date: Tue, 16 Sep 2003 08:47:37 +1000	[thread overview]
Message-ID: <87wuc9y8hi.fsf@zip.com.au> (raw)
In-Reply-To: <87oexpqu3t.fsf@raven.i.defaultvalue.org> (Rob Browning's message of "Fri, 12 Sep 2003 21:51:02 -0500")

Rob Browning <rlb@defaultvalue.org> writes:
>
> Hmm.  You mean because of timezones

Timezones and daylight saving won't affect ftime on a unix system, but
might on DOS where the system time is local time.

> /leap-foo,

Not sure what normally happens for leap seconds.  If the system time
is properly tied to UTC like srfi-19.scm assumes then I think for a
leap second 23:59:59 to 00:00:00 will take 2 seconds of real time.  I
imagine only serious users would attempt to enforce that though.

> etc.?

Sudden changes with stime would be the main concern, gradual changes
with adjtime would be less of a worry but still not ideal.

> If so, good
> point.  I'd say we need better docs, better functions, or both, and
> either way, a good NEWS entry.

Oh well, these sort of things always depend on the intended usage,
which is why I ask about the current theory.  I'd certainly like to
tighten up the docs though.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


      reply	other threads:[~2003-09-15 22:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-02 22:37 get-internal-real-time using times() Kevin Ryde
2003-09-12 19:25 ` Rob Browning
2003-09-12 23:46   ` Kevin Ryde
2003-09-13  2:51     ` Rob Browning
2003-09-15 22:47       ` Kevin Ryde [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wuc9y8hi.fsf@zip.com.au \
    --to=user42@zip.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).