apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: Why not POSIX time_t?
Date Mon, 15 Jul 2002 20:34:09 GMT
At 02:15 PM 7/15/2002, Brian Pane wrote:
>Bill Stoddard wrote:
>>Cliff demonstrates that there is significant loss of accuracy using just a
>>shift. I believe (faith? :-) that there is a simple solution to this. Don't
>>know what it is just now though...
>I think the simple solution is to pack the data into the apr_time_t
>    (seconds << 20) + microseconds
>instead of
>    (seconds * 1000000) + microseconds

-1 [that's a veto, not a vote.]

This is the same as a struct timeval, but harder to manipulate!

View raw message