From owner-freebsd-hackers Sun Jan 23 19:48:31 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 562EC14A17; Sun, 23 Jan 2000 19:48:22 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id UAA98473; Sun, 23 Jan 2000 20:48:01 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id UAA48859; Sun, 23 Jan 2000 20:48:34 -0700 (MST) Message-Id: <200001240348.UAA48859@harmony.village.org> To: Mikhail Teterin Subject: Re: kern/13644 Cc: Dan Nelson , Jason Evans , David Schwartz , bde@FreeBSD.ORG, hackers@FreeBSD.ORG In-reply-to: Your message of "Sun, 23 Jan 2000 21:14:09 EST." <200001240214.VAA45195@rtfm.newton> References: <200001240214.VAA45195@rtfm.newton> Date: Sun, 23 Jan 2000 20:48:34 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200001240214.VAA45195@rtfm.newton> Mikhail Teterin writes: : I understand. And this will also happen in case of a simple printf(). : What I see, however, with select() is that it _consistently_ takes 9-10 : msecs longer then specified to return. On an idle machine... Someone : mentioned, that the number of ticks is, actually, rounded up. Perhaps, : it should be rounded down? Select(2) only guarantees that it will sleep no less than the time specified for the timeout. Rounding down will break this. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message