Warner Losh once stated:

=In message <[EMAIL PROTECTED]> 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?

Not again...

=Select(2) only  guarantees that  it will  sleep no  less than  the time
=specified for the timeout. Rounding down will break this.

Where does it  guarantee that? Man-pages say, it is  guaranteed to sleep
no MORE then  the timeout, not less. Is there  some other specification,
that's  different  from the  man-pages,  or  are  you talking  from  the
implementation point of view?

Yours,

        -mi


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to