Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions asio/include/asio/detail/impl/io_uring_service.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,16 @@ void io_uring_service::run(long usec, op_queue<operation>& ops)
{
--local_ops;
}
else if (cqe->flags & IORING_CQE_F_MORE)
{
io_queue* io_q = static_cast<io_queue*>(ptr);
io_q->set_result(cqe->res);
}
else if (cqe->flags & IORING_CQE_F_NOTIF)
{
io_queue* io_q = static_cast<io_queue*>(ptr);
ops.push(io_q);
}
else
{
io_queue* io_q = static_cast<io_queue*>(ptr);
Expand Down
2 changes: 1 addition & 1 deletion asio/include/asio/detail/io_uring_socket_send_op.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class io_uring_socket_send_op_base : public io_uring_operation
}
else
{
::io_uring_prep_sendmsg(sqe, o->socket_, &o->msghdr_, o->flags_);
::io_uring_prep_sendmsg_zc(sqe, o->socket_, &o->msghdr_, o->flags_);
}
}

Expand Down
2 changes: 1 addition & 1 deletion asio/include/asio/detail/io_uring_socket_sendto_op.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class io_uring_socket_sendto_op_base : public io_uring_operation
}
else
{
::io_uring_prep_sendmsg(sqe, o->socket_, &o->msghdr_, o->flags_);
::io_uring_prep_sendmsg_zc(sqe, o->socket_, &o->msghdr_, o->flags_);
}
}

Expand Down