Make the kqueue ioset back-end less whiny.
authorMichael Poole <mdpoole@troilus.org>
Tue, 11 Aug 2009 03:56:03 +0000 (23:56 -0400)
committerMichael Poole <mdpoole@troilus.org>
Tue, 11 Aug 2009 03:56:03 +0000 (23:56 -0400)
commit2184ebfaaaaa8e5863cfe5dcbf05e77b49abcd38
tree970ba98643a868a582d2cd50b8eebac1e5aad353
parentd1d47b28b63d04bb4010a1e459853f4766a92a13
Make the kqueue ioset back-end less whiny.

src/ioset-kevent.c (ioset_kevent_add): Never try to use EV_DELETE, because
    that can make kevent() return -1/ENOENT.
  (ioset_kevent_update): We need to try to EV_DELETE here instead.
  (ioset_kevent_loop): Do not bail if kevent() just returns -1/EINTR.
src/ioset-kevent.c