bug-gawk
[Top][All Lists]
Advanced

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



reply via email to

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