From owner-cvs-lib Wed Aug 13 09:35:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA08072 for cvs-lib-outgoing; Wed, 13 Aug 1997 09:35:13 -0700 (PDT) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA07742; Wed, 13 Aug 1997 09:34:48 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.7/8.8.7) id UAA15977; Wed, 13 Aug 1997 20:34:33 +0400 (MSD) Date: Wed, 13 Aug 1997 20:34:22 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Bruce Evans cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-lib@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/gen sleep.c In-Reply-To: <199708131549.BAA17124@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-lib@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 14 Aug 1997, Bruce Evans wrote: > >ache 1997/08/12 12:47:02 PDT > > > > Modified files: > > lib/libc/gen sleep.c > > Log: > > Solve itimerfix() problem completely by using loop in 100000000 secs chunks > > This is incomplete and misplaced. nanosleep() is not permitted to reduce > the interval. The loop should be in nanosleep() in the kernel. I agree. I commit it to user-level first to not depends right now on nanosleep bug. I don't examine nanosleep code enough to fix it right now. I'll try to look how it can be fixed, and, if it will be fixed, I'll back out sleep.c code fix. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/