[][src]Function syscall::call::enter_iouring

pub fn enter_iouring(
    ringfd: usize,
    min_complete: usize,
    flags: IoUringEnterFlags
) -> Result<usize>

Tell the kernel that the current process has nothing left to do, and is ready to wait for additional io_uring entries before waking up again.

The min_complete parameter defines the minimum number of completion entries that must be pushed onto the completion queue, before the function is able to return. This can also take a value of zero, in which case the ring can wake up without any entries pushed onto the queue, which can be especially useful in async executors that want to stop waiting, and tell the executor to continue.