Re: CVS update: subversion/subversion/include svn_fs.h
> > Also, TIME probably needs to be more precise than seconds since epoch,
> > because several transactions might arrive in one second. Adding the
> > microsecond count from gettimeofday() should be good enough.
> I'll try to do the right thing. If I do the wrong thing, please
> submit a patch.
On x86 class machines, the microsecond field reports microseconds, but is
frequently updated every millisecond (or less often). This is significantly
more coarse than the network stack end to end latency, and I have witnessed
collisions at this granularity. If the use of the gettimeofday() call is to
obtain a transaction ID, use a transaction ID. Don't rely on gettimeofday()
for this purpose.
Received on Sat Oct 21 14:36:08 2006
This is an archived mail posted to the Subversion Dev