Browse Source

*** empty log message ***

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

+ 1
- 1
ev_iouring.c View File

@ -458,6 +458,7 @@ iouring_modify (EV_P_ int fd, int oev, int nev)
struct io_uring_sqe *sqe = iouring_sqe_get (EV_A);
sqe->opcode = IORING_OP_POLL_ADD;
sqe->fd = fd;
sqe->addr = 0;
sqe->user_data = (uint32_t)fd | ((__u64)(uint32_t)anfds [fd].egen << 32);
sqe->poll_events =
(nev & EV_READ ? POLLIN : 0)
@ -518,7 +519,6 @@ iouring_process_cqe (EV_P_ struct io_uring_cqe *cqe)
if (ecb_expect_false (res < 0))
{
/*TODO: EINVAL handling (was something failed with this fd)*/
/*TODO: EBUSY happens when?*/
if (res == -EBADF)
{


Loading…
Cancel
Save