public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Joseph Myers <joseph@codesourcery.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: <libc-alpha@sourceware.org>
Subject: Re: Add C2X timespec_getres
Date: Mon, 17 May 2021 19:54:45 +0000	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2105171953550.2011384@digraph.polyomino.org.uk> (raw)
In-Reply-To: <8722784d-38e5-937e-60e2-e42f91070c63@cs.ucla.edu>

On Thu, 13 May 2021, Paul Eggert wrote:

> On 5/13/21 4:54 PM, Joseph Myers wrote:
> > The handling of 64-bit time
> > follows that in timespec_get; people maintaining patch series for
> > 64-bit time will need to update them accordingly (to export
> > __timespec_getres64, redirect calls in time.h and run the test for
> > _TIME_BITS=64).
> 
> Would it be simpler if new time_t-related APIs support only 64-bit time_t?

No.  It would be more complicated to have a mixture of APIs that are 
supported unconditionally and APIs that are only supported for 
_TIME_BITS=64 and on architectures where time_t defaults to 64-bit.

-- 
Joseph S. Myers
joseph@codesourcery.com

  parent reply	other threads:[~2021-05-17 19:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 23:54 Joseph Myers
2021-05-14  6:32 ` Paul Eggert
2021-05-14 11:52   ` Adhemerval Zanella
2021-05-17 19:54   ` Joseph Myers [this message]
2021-05-14 12:06 ` Adhemerval Zanella
2021-05-17 20:56   ` Joseph Myers

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

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

  git send-email \
    --in-reply-to=alpine.DEB.2.22.394.2105171953550.2011384@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=eggert@cs.ucla.edu \
    --cc=libc-alpha@sourceware.org \
    /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).