fn sq_ring_needs_enter(self: *IO_Uring, flags: *u32) bool

Returns true if we are not using an SQ thread (thus nobody submits but us), or if IORING_SQ_NEED_WAKEUP is set and the SQ thread must be explicitly awakened. For the latter case, we set the SQ thread wakeup flag. Matches the implementation of sq_ring_needs_enter() in liburing.

Parameters

self: *IO_Uring,
flags: *u32,