In message <[EMAIL PROTECTED]> Mikhail Teterin writes:
: 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?

The man pages say exactly:
     If timeout is a non-nil pointer, it specifies a maximum interval to wait
     for the selection to complete.

Which doesn't say that it will sleep no more than this.  It says that
it will wait no longer than this for the selection to complete.  It
doesn't guarantee anything, imho.  It doesn't guarnatee that you will
be scheduled at any given time.

Besides, POSIX's definition of select clearly states what I said.

Warner




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

Reply via email to