On Fri, 11 Mar 2011 09:45:03 -0500 Jeffrey Altman <[email protected]> wrote:
> The only thing that I would add is some text describing conversion > between AFSAbsTime/AFSRelTime and time_t. In particular, that time_t -> > AFSAbsTime/AFSRelTime is always 1 second resolution and that > AFSAbsTime/AFSRelTime -> time_t must always round down and never up. > > Since time resolution information is being included, there should be > discussion that adding AFSAbsTime (100ns) plus AFSRelTime (1s) should > result in AFSAbsTime (1s). > > Inclusion of C source code for various operations wouldn't hurt: > > * AFSAbsTime -> time_t > * time_t -> AFSAbsTime > * AFSAbsTime + AFSRelTime > * AFSAbsTime + AFSAbsTime > * AFSAbsTime - AFSAbsTime > * AFSAbsTime <=> AFSAbsTime Before I get too distracted by the other thread: yes, agreed on all of this. Thanks! -- Andrew Deason [email protected] _______________________________________________ AFS3-standardization mailing list [email protected] http://lists.openafs.org/mailman/listinfo/afs3-standardization
