Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 1 year ago
parent
commit
95ccf8cd34
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ev_iouring.c
  2. +1
    -1
      ev_linuxaio.c

+ 1
- 1
ev_iouring.c View File

@ -611,7 +611,7 @@ iouring_init (EV_P_ int flags)
if (!epoll_init (EV_A_ 0))
return 0;
ev_io_init (EV_A_ &iouring_epoll_w, iouring_epoll_cb, backend_fd, EV_READ);
ev_io_init (&iouring_epoll_w, iouring_epoll_cb, backend_fd, EV_READ);
ev_set_priority (&iouring_epoll_w, EV_MAXPRI);
ev_io_init (&iouring_tfd_w, iouring_tfd_cb, iouring_tfd, EV_READ);


+ 1
- 1
ev_linuxaio.c View File

@ -569,7 +569,7 @@ linuxaio_init (EV_P_ int flags)
return 0;
}
ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ);
ev_io_init (&linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ);
ev_set_priority (&linuxaio_epoll_w, EV_MAXPRI);
ev_io_start (EV_A_ &linuxaio_epoll_w);
ev_unref (EV_A); /* watcher should not keep loop alive */


Loading…
Cancel
Save