Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2000 22:32:15 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        dnelson@emsphone.com, mi@kot.ne.mediaone.net
Cc:        bde@FreeBSD.ORG, davids@webmaster.com, hackers@FreeBSD.ORG, jasone@canonware.com
Subject:   Re: kern/13644
Message-ID:  <200001240332.WAA28924@pcnet1.pcnet.com>

next in thread | raw e-mail | index | archive | help
> 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?

You can't round down and still obey POSIX semantics.  "at least" will
not be satisfied.  You have to guarantee that the actual time is greater
than or equal to the amount of time specified.

Dan Eischen
eischen@vigrid.com



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?200001240332.WAA28924>