Function cq_ring_needs_flush [src]

Matches the implementation of cq_ring_needs_flush() in liburing.

Prototype

pub fn cq_ring_needs_flush(self: *IoUring) bool

Parameters

self: *IoUring

Source

pub fn cq_ring_needs_flush(self: *IoUring) bool { return (@atomicLoad(u32, self.sq.flags, .unordered) & linux.IORING_SQ_CQ_OVERFLOW) != 0; }