[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Return value of 'times' on MS-Windows is constant and overflows
From: |
Eli Zaretskii |
Subject: |
Re: Return value of 'times' on MS-Windows is constant and overflows |
Date: |
Tue, 10 Jun 2014 05:43:31 +0300 |
> Date: Tue, 10 Jun 2014 00:42:22 +0100
> From: Pádraig Brady <address@hidden>
> CC: address@hidden
>
> > . The value is constant: every call to 'times' within the same
> > process returns the same value. Callers generally expect the
> > value to change, since Posix says the value is the elapsed time
> > since some arbitrary point in time, and that point doesn't change
> > for function calls in the same process. For example, Guile's test
> > suite includes a test that calls 'times', sleeps for a few
> > seconds, then calls 'times' again, and expects the return value to
> > change by approximately the number of seconds it slept.
>
> This seems correct. I.E. times() should count up.
> I'll merge this but with s/change by/change according to/ in the line above.
Thanks.