Sha256: b49a9fb610cff026b56875b7b1744d584d66b778a067ea7365d8c56dee76c7ae
Contents?: true
Size: 905 Bytes
Versions: 8
Compression:
Stored size: 905 Bytes
Contents
.\" Copyright (C) 2022 Stefan Roesch <shr@fb.com> .\" .\" SPDX-License-Identifier: LGPL-2.0-or-later .\" .TH io_uring_sqring_wait "January 25, 2022" "liburing-2.1" "liburing Manual" .SH NAME io_uring_sqring_wait - wait for free space in the SQ ring .SH SYNOPSIS .nf .BR "#include <liburing.h>" .PP .BI "int io_uring_sqring_wait(struct io_uring *ring)" .fi .PP .SH DESCRIPTION .PP The function io_uring_sqring_wait() allows the caller to wait for space to free up in the SQ ring belonging to the .I ring param, which happens when the kernel side thread has consumed one or more entries. If the SQ ring is currently non-full, no action is taken. This feature can only be used when SQPOLL is enabled. .SH RETURN VALUE On success it returns the free space. If the kernel does not support the feature, -EINVAL is returned. .SH SEE ALSO .BR io_uring_submit (3), io_uring_wait_cqe (3), io_uring_wait_cqes (3)
Version data entries
8 entries across 8 versions & 1 rubygems