fcntl (backend_fd, F_SETFD, FD_CLOEXEC);
- backend_fudge = 2e-4; /* needed to compensate for epoll returning early */
+ backend_fudge = 0.; /* kernel sources seem to indicate this to be zero */
backend_modify = epoll_modify;
backend_poll = epoll_poll;
fcntl (backend_fd, F_SETFD, FD_CLOEXEC); /* not sure if necessary, hopefully doesn't hurt */
- /* fudge *might* be zero from the documentation, but bsd docs are notoriously wrong */
backend_fudge = 1e-3; /* needed to compensate for kevent returning early */
backend_modify = kqueue_modify;
backend_poll = kqueue_poll;
int inline_size
poll_init (EV_P_ int flags)
{
- backend_fudge = 0; /* needed to compensate for select returning early, very conservative */
+ backend_fudge = 0.; /* posix says this is zero */
backend_modify = poll_modify;
backend_poll = poll_poll;
int inline_size
select_init (EV_P_ int flags)
{
- backend_fudge = 0; /* needed to compensate for select returning early, very conservative */
+ backend_fudge = 0.; /* posix says this is zero */
backend_modify = select_modify;
backend_poll = select_poll;