From owner-freebsd-current@FreeBSD.ORG Sun Jan 1 14:06:21 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F81516A41F for ; Sun, 1 Jan 2006 14:06:21 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91DA743D48 for ; Sun, 1 Jan 2006 14:06:20 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id D2FD15D3D; Sun, 1 Jan 2006 09:06:19 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 46000-05; Sun, 1 Jan 2006 09:06:16 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 5977E5CA3; Sun, 1 Jan 2006 09:06:16 -0500 (EST) Message-ID: <43B7E1EC.5090301@mac.com> Date: Sun, 01 Jan 2006 09:06:36 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Luigi Rizzo References: <73774.1136109554@critter.freebsd.dk> <20060101035958.A86264@xorpc.icir.org> In-Reply-To: <20060101035958.A86264@xorpc.icir.org> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: Poul-Henning Kamp , current@freebsd.org Subject: Re: FreeBSD handles leapsecond correctly X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2006 14:06:21 -0000 Luigi Rizzo wrote: > On Sun, Jan 01, 2006 at 10:59:14AM +0100, Poul-Henning Kamp wrote: >>http://phk.freebsd.dk/misc/leapsecond.txt >> >>Notice how CLOCK_REALTIME recycles the 1136073599 second. > > on a related topic, any comments on this one ? > Is this code that we could use ? > > http://www.dragonflybsd.org/docs/nanosleep/ I ported the tvtohz change from Dragonfly back to 4.10 and 5-STABLE here: http://www.pkix.net/~chuck/timer/ ...so anyone who wants to experiment can try it out. :-) -- -Chuck