From owner-cvs-all@FreeBSD.ORG Tue Nov 29 22:02:27 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 506E016A41F; Tue, 29 Nov 2005 22:02:27 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD15143D5D; Tue, 29 Nov 2005 22:02:25 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id D3821BC50; Tue, 29 Nov 2005 22:02:21 +0000 (UTC) To: John Polstra From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 29 Nov 2005 13:42:56 PST." Date: Tue, 29 Nov 2005 23:02:21 +0100 Message-ID: <4057.1133301741@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2005 22:02:27 -0000 In message , John Polstra writes: >On 28-Nov-2005 Poul-Henning Kamp wrote: >> I've looked a lot at this in the ISC eventlib (bind8) but there is >> no way to save one timestamp per iteration without getting creeping >> imprecision in the timer controlled events. > >Would it help if we had something like select/poll that took an >absolute time (a deadline) instead of a timeout -- as is done by >pthread_cond_timedwait? There are indeed many ways this could be done, but it won't help much in practice when libisc is written to be portable over a wide range of operating systems. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.