… | |
… | |
609 | iouring_init (EV_P_ int flags) |
609 | iouring_init (EV_P_ int flags) |
610 | { |
610 | { |
611 | if (!epoll_init (EV_A_ 0)) |
611 | if (!epoll_init (EV_A_ 0)) |
612 | return 0; |
612 | return 0; |
613 | |
613 | |
614 | ev_io_init (EV_A_ &iouring_epoll_w, iouring_epoll_cb, backend_fd, EV_READ); |
614 | ev_io_init (&iouring_epoll_w, iouring_epoll_cb, backend_fd, EV_READ); |
615 | ev_set_priority (&iouring_epoll_w, EV_MAXPRI); |
615 | ev_set_priority (&iouring_epoll_w, EV_MAXPRI); |
616 | |
616 | |
617 | ev_io_init (&iouring_tfd_w, iouring_tfd_cb, iouring_tfd, EV_READ); |
617 | ev_io_init (&iouring_tfd_w, iouring_tfd_cb, iouring_tfd, EV_READ); |
618 | ev_set_priority (&iouring_tfd_w, EV_MAXPRI); |
618 | ev_set_priority (&iouring_tfd_w, EV_MAXPRI); |
619 | |
619 | |