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_sq_ready - number of unconsumed or unsubmitted entries in the SQ ring

Description

       The  io_uring_sq_ready(3)  function  returns  the number of unconsumed (if SQPOLL) or unsubmitted entries
       that exist in the SQ ring belonging to the ring param.

       Usage of this function only applies if the ring has been setup with  IORING_SETUP_SQPOLL,  where  request
       submissions, and hence consumption from the SQ ring, happens through a polling thread.

Name

       io_uring_sq_ready - number of unconsumed or unsubmitted entries in the SQ ring

Return Value

       Returns the number of unconsumed or unsubmitted entries in the  SQ ring.

See Also

io_uring_cq_ready(3)

liburing-2.1                                    January 25, 2022                            io_uring_sq_ready(3)

Synopsis

#include<liburing.h>unsignedio_uring_sq_ready(conststructio_uring*ring);

See Also