version 1.34.2.2, 2021/06/08 21:44:27
|
version 1.35.4.1, 2022/10/17 22:38:26
|
Line 1186 fetch_hook_epoll_proceed(int en, struct epoll_event *r
|
Line 1186 fetch_hook_epoll_proceed(int en, struct epoll_event *r
|
} |
} |
|
|
if (epoll_ctl(r->root_kq, ops, evt->data.fd, evt) == -1) { |
if (epoll_ctl(r->root_kq, ops, evt->data.fd, evt) == -1) { |
|
if (errno == EBADF) { |
|
epoll_ctl(r->root_kq, EPOLL_CTL_DEL, evt->data.fd, evt); |
|
schedCancelby(r, taskREAD, CRITERIA_FD, |
|
(void*) (uintptr_t) evt->data.fd, NULL); |
|
schedCancelby(r, taskWRITE, CRITERIA_FD, |
|
(void*) (uintptr_t) evt->data.fd, NULL); |
|
} |
if (r->root_hooks.hook_exec.exception) { |
if (r->root_hooks.hook_exec.exception) { |
r->root_hooks.hook_exec.exception(r, NULL); |
r->root_hooks.hook_exec.exception(r, NULL); |
} else |
} else |