mirror of /home/gitosis/repositories/libev.git
*** empty log message ***
This commit is contained in:
parent
bc0dc05d9e
commit
e41e3976f9
|
@ -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…
Reference in New Issue