}else{// fprintf(stderr, "(%s:%s:%i) fDns_socket: %i, fDns_inotify_fd %i, epoll_fd: %i, error on: %i\n", __FILE__, __func__, __LINE__, fDns_socket, fDns_inotify_fd, epoll_fd, e->fd);event_delete(e); } eventc--;continue; }elseif(e->fd == fDns_notify_fd) ...
the wait// is a repeating wait, so don't change it.ifevents&syscall.EPOLLONESHOT ==0{return}// Disable the given bits.// If we're still waiting for other events, modify the fd// event in the kernel. Otherwise, delete it.events &= ^uint32(bits)ifint32(events)&^syscall...