info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: root
Subject: (no subject)
Date: Mon, 13 Aug 2001 05:24:08 -0400

>From address@hidden  Thu Feb 15 04:15:00 2001
>Return-Path: <address@hidden>
Received: from fencepost.gnu.org (address@hidden [199.232.76.164])
        by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id 
EAA24383
        for <address@hidden>; Thu, 15 Feb 2001 04:14:59 +0900
Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org)
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 14T7LV-0000bF-00; Wed, 14 Feb 2001 14:12:09 -0500
Received: from heimdall.sdrc.com ([146.122.132.195] helo=sdrc.com)
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 14T7JO-0000Y4-00
        for <address@hidden>; Wed, 14 Feb 2001 14:09:58 -0500
Received: from tyr.sdrc.com (mailhub-cvg.sdrc.com [146.122.142.31])
        by sdrc.com (8.9.1/8.9.1) with ESMTP id OAA18624;
        Wed, 14 Feb 2001 14:09:10 -0500 (EST)
Received: from thor.sdrc.com (address@hidden [146.122.62.108])
        by tyr.sdrc.com (8.8.6 (PHNE_17190)/8.8.5) with ESMTP id OAA05553;
        Wed, 14 Feb 2001 14:09:10 -0500 (EST)
Received: (from address@hidden)
        by thor.sdrc.com (8.9.0/8.9.0) id OAA00953;
        Wed, 14 Feb 2001 14:09:09 -0500 (EST)
Message-Id: <address@hidden>
Subject: Re: Timestamp race avoidance in do_update()
To: address@hidden (Laine Stump)
Cc: address@hidden
In-Reply-To: <address@hidden> from "Laine Stump" at Feb 14, 1 01:16:02 pm
From: address@hidden (Larry Jones)
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: address@hidden
Errors-To: address@hidden
X-BeenThere: address@hidden
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/info-cvs>,
        <mailto:address@hidden>
List-Id: Announcements and discussions for the CVS version control system 
<info-cvs.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/info-cvs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/info-cvs/>
Date: Wed, 14 Feb 2001 14:09:09 -0500 (EST)
Status: O
Content-Length: 781
Lines: 21

Laine Stump writes:
> 
> What I'm wondering is if we could change the "sleep(1); to be a
> usleep(200) in a while loop instead. This should trim 1/2 a second
> from each invocation of commit, on average, which can be quite a lot
> when you're talking about several thousand files with dozens of
> revisions for each...

Unfortunately, usleep() isn't portable.  Like I keep saying, the trick
(if you want to call it that) is to commit those several thousand files
with a single invocation of commit so you only pay the price once
instead of over and over and over.

-Larry Jones

I don't think math is a science, I think it's a religion. -- Calvin

_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]