epoll shim implemented using kevent.