[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 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
MAA25502
for <address@hidden>; Thu, 15 Feb 2001 12:02:56 +0900
Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org)
by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
id 14TEeR-00039k-00; Wed, 14 Feb 2001 22:00:11 -0500
Received: from [216.200.203.33] (helo=mail.openave.com)
by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
id 14TEdB-00037A-00
for <address@hidden>; Wed, 14 Feb 2001 21:58:53 -0500
Received: from openavenue.com
(adsl-63-205-189-231.dsl.snfc21.pacbell.net [63.205.189.231])
by mail.openave.com (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: <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 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
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden OpenAvenue ( http://OpenAvenue.com )
--
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
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs
- (no subject), (continued)
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject),
root <=
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13
- (no subject), root, 2001/08/13