[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS update: subversion/subversion/include svn_fs.h

From: Zack Weinberg <zack_at_wolery.cumb.org>
Date: 2000-09-09 22:53:57 CEST

On Sat, Sep 09, 2000 at 01:44:32PM -0700, Manoj Kasichainula wrote:
> On Sat, Sep 09, 2000 at 09:39:15AM -0700, Zack Weinberg wrote:
> > 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.
>
> Why not just use an incremented counter (plus pid)? This avoids a
> system call per transaction, and is just simpler.

I got the impression that each transaction was handled by a separate
process. A counter wouldn't work unless it was stored on the
filesystem or in shared memory - either of which involves more system
calls to get at. And if gettimeofday(2) isn't dirt cheap, your OS has
serious problems.

zw
Received on Sat Oct 21 14:36:08 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.