Date: Sun, 23 Jan 2000 20:48:34 -0700 From: Warner Losh <imp@village.org> To: Mikhail Teterin <mi@kot.ne.mediaone.net> Cc: Dan Nelson <dnelson@emsphone.com>, Jason Evans <jasone@canonware.com>, David Schwartz <davids@webmaster.com>, bde@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: kern/13644 Message-ID: <200001240348.UAA48859@harmony.village.org> In-Reply-To: Your message of "Sun, 23 Jan 2000 21:14:09 EST." <200001240214.VAA45195@rtfm.newton> References: <200001240214.VAA45195@rtfm.newton>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001240348.UAA48859>