logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

io_uring_get_events - Flush outstanding requests to CQE ring

Description

       The io_uring_get_events(3) function runs outstanding work and flushes completion events to the CQE ring.

       There  can be events needing to be flushed if the ring was full and had overflowed.  Alternatively if the
       ring was setup with the  IORING_SETUP_DEFER_TASKRUN  flag  then  this  will  process  outstanding  tasks,
       possibly resulting in more CQEs.

Name

       io_uring_get_events - Flush outstanding requests to CQE ring

Return Value

       On success io_uring_get_events(3) returns 0. On failure it returns -errno.

See Also

io_uring_get_sqe(3), io_uring_submit_and_get_events(3), io_uring_cq_has_overflow(3)

liburing-2.3                                    September 5, 2022                         io_uring_get_events(3)

Synopsis

#include<liburing.h>intio_uring_get_events(structio_uring*ring);

See Also