Age | Commit message (Collapse) | Author |
|
io_uring_peek_batch_cqe(), get multiple cqe from the queue at once.
Returns the number of cqe gotten.
test/cq-peek-batch.c: tests io_uring_peek_batch_cqe()
Signed-off-by: James Rouzier <rouzier@gmail.com>
|
|
io_uring_cq_ready(), returns the number of completions that are ready.
test/cq-ready.c: tests io_uring_cq_ready
Signed-off-by: James Rouzier <rouzier@gmail.com>
|
|
Signed-off-by: James Rouzier <rouzier@gmail.com>
|
|
pkg-config (https://pkgconfig.freedesktop.org/) makes it easier to build
applications that have library dependencies. Libraries ship .pc files
containing the compiler and linker flags needed to build successfully.
This saves applications from hardcoding these details into their build
scripts, especially when these details can change between operating
systems or distributions.
To build a liburing application:
gcc $(pkg-config --cflags --libs liburing) -o myapp myapp.c
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
|
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
|
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|