[issue20311] epoll.poll(timeout) and PollSelector.select(timeout) must round the timeout to the upper bound

Antoine Pitrou report at bugs.python.org
Thu Jan 23 23:00:21 CET 2014


Antoine Pitrou added the comment:

> "The  timeout  argument specifies the minimum number of milliseconds
> that epoll_wait() will block.  (This interval will be rounded up to
> the system clock granularity, and kernel scheduling delays mean that
> the blocking  interval may  overrun  by  a  small  amount.)"
> 
> I read minimum, not maximum here :-)

Aren't you using different clocks, though?
The excerpt above says "system clock" (which admittedly sounds a bit
vague :-)).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20311>
_______________________________________


More information about the Python-bugs-list mailing list