From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: m4/clock_time.m4 from r117596 Date: Fri, 01 Aug 2014 09:43:06 +0400 Message-ID: <53DB28EA.8050301@yandex.ru> References: <53D5EE3D.3090401@yandex.ru> <53DAA4B9.9000509@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1406871823 5923 80.91.229.3 (1 Aug 2014 05:43:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2014 05:43:43 +0000 (UTC) Cc: Emacs development discussions To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 01 07:43:36 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XD5ct-00034p-EB for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2014 07:43:35 +0200 Original-Received: from localhost ([::1]:60016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD5cs-0006WU-Pp for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2014 01:43:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD5ci-0006Pn-Sv for emacs-devel@gnu.org; Fri, 01 Aug 2014 01:43:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XD5cb-0001bq-Hr for emacs-devel@gnu.org; Fri, 01 Aug 2014 01:43:24 -0400 Original-Received: from forward8l.mail.yandex.net ([84.201.143.141]:56501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD5cb-0001bU-9H for emacs-devel@gnu.org; Fri, 01 Aug 2014 01:43:17 -0400 Original-Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [37.140.190.27]) by forward8l.mail.yandex.net (Yandex) with ESMTP id C5D4E1A41615; Fri, 1 Aug 2014 09:43:14 +0400 (MSK) Original-Received: from smtp2o.mail.yandex.net (localhost [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id 642FE36A2A6B; Fri, 1 Aug 2014 09:43:14 +0400 (MSK) Original-Received: from 167.gprs.mts.ru (167.gprs.mts.ru [213.87.138.167]) by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id CSIfvaUYaC-hDiiX9Vn; Fri, 1 Aug 2014 09:43:13 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 4ee13b0c-aebb-4bcb-a59e-1d0effab776a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1406871793; bh=VB1zHq4DnGQMbrLL9pQHmqAK1NjNAAuLlVa33Y4qS9Q=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Y7kEOGtRFWA1vUuyhbyz0yLALl8yu95bGfW3MBMdPnjXrSGuUntRsCKc76x7aby52 xHfgSaz247vhbbT/UDNNdLFX1cr/rGHSwATMdboPVXhxKKH636P0tKyfYHQ6dqUerk YPfJsSFfAgPKui7hh9NupX7Bx+CxPm9fWgUL6GZ4= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: <53DAA4B9.9000509@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 84.201.143.141 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173341 Archived-At: On 08/01/2014 12:19 AM, Paul Eggert wrote: > timer_settime and timerfd_settime already round clocks up to the nearest > value supported by the system resolution Are you sure about that? On my (Fedora 20) system, 'man timer_settime' and 'man timerfd_settime' says nothing about resolution and rounding. But 'man clock_settime' says: "If the time value pointed to by the argument tp of clock_settime() is not a multiple of res, then it is _truncated_ to a multiple of res." Dmitry