[Top][All Lists]

[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:17:19 -0400

>From address@hidden  Thu Feb 15 12:02:58 2001
>Return-Path: <address@hidden>
Received: from (address@hidden [])
        by (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id 
        for <address@hidden>; Thu, 15 Feb 2001 12:02:56 +0900
Received: from localhost ([]
        by with esmtp (Exim 3.16 #1 (Debian))
        id 14TEeR-00039k-00; Wed, 14 Feb 2001 22:00:11 -0500
Received: from [] (
        by with smtp (Exim 3.16 #1 (Debian))
        id 14TEdB-00037A-00
        for <address@hidden>; Wed, 14 Feb 2001 21:58:53 -0500
Received: from
          ( [])
          by (Post.Office MTA v3.5.3 release 223
          ID# 0-61060U3000L300S0V35) with ESMTP id com;
          Wed, 14 Feb 2001 18:58:48 -0800
Message-ID: <address@hidden>
From: "Derek R. Price" <address@hidden>
Organization: Open Avenue
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Larry Jones <address@hidden>
CC: Laine Stump <address@hidden>, address@hidden
Subject: Re: Timestamp race avoidance in do_update()
References: <address@hidden>
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: <>,
List-Id: Announcements and discussions for the CVS version control system 
List-Unsubscribe: <>,
List-Archive: <>
Date: Wed, 14 Feb 2001 21:58:46 -0500
Status: O
Content-Length: 1075
Lines: 39

Larry Jones wrote:

> Laine Stump writes [quoting me]:
> > >
> > > Unfortunately, usleep() isn't portable.
> >
> > Okay, then how about nanosleep()?
> nanosleep() is even less portable.  (It's part of the POSIX real-time
> extensions.  I think usleep() is part of the base POSIX standard;
> sleep() definitely is and it's been in Unix "forever" so it's much more
> widely implemented.)

Well, it didn't seem very hard to do, so I had configure search for
nanosleep, usleep, and select in that order, then use them in the same
order of preference, falling back on sleep as a last resort.  It speeds up
'make check' noticeably.

Checked in.


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden     OpenAvenue ( )
I will not squeak chalk.
I will not squeak chalk.
I will not squeak chalk...

          - Bart Simpson on chalkboard, _The Simpsons_

Info-cvs mailing list

reply via email to

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