[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: systime() vs gettimeofday()
From: |
Eli Zaretskii |
Subject: |
Re: systime() vs gettimeofday() |
Date: |
Tue, 02 Jan 2024 21:18:54 +0200 |
> From: arnold@skeeve.com
> Date: Tue, 02 Jan 2024 11:13:28 -0700
> Cc: bug-gawk@gnu.org, arnold@skeeve.com
>
> "Andrew J. Schorr" <aschorr@telemetry-investments.com> wrote:
>
> > I suppose we could eliminate the uncertainty by reimplementing
> > both systime() and gettimeofday() to use the same underlying API
> > (either gettimeofday or clock_gettime(CLOCK_REALTIME)), but
> > I imagine this would result in portability issues for the
> > systime() call.
>
> gettimeofay() may be portable enough by now. Let's take this offline
> for now.
AFAIU, gettimeofay is nowadays obsolete, so maybe basing something on
it is not the best idea.
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, (continued)
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, arnold, 2024/01/02
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, Andreas Schwab, 2024/01/02
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, Andreas Schwab, 2024/01/02
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, Andrew J. Schorr, 2024/01/02
- Re: systime() vs gettimeofday(), Andrew J. Schorr, 2024/01/02
- Re: systime() vs gettimeofday(), arnold, 2024/01/02
- Re: systime() vs gettimeofday(),
Eli Zaretskii <=
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, arnold, 2024/01/12
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, Andrew J. Schorr, 2024/01/12
- Re: gawk: sigpipe1.awk:7: fatal: print to "yes | true" failed: Broken pipe, arnold, 2024/01/13