diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-01-08 15:14:07 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-01-08 15:38:01 -0700 |
commit | 6a44c6e0f7eb1d7692c96b2512974b858cfc95f0 (patch) | |
tree | 6b0bb6677f297c6d3205744eda9e0bc5139373a1 /src/liburing.map | |
parent | f93c84e1b07474a7d776403b3516feeff4f3c933 (diff) | |
download | liburing-6a44c6e0f7eb1d7692c96b2512974b858cfc95f0.tar.gz liburing-6a44c6e0f7eb1d7692c96b2512974b858cfc95f0.tar.bz2 |
Add option for getting a completion without waiting
This now exposes two helpers:
io_uring_get_completion()
Return a completion, if we have one (or more) available in
the ring
io_uring_wait_completion()
Return a completion, waiting for it if necessary
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/liburing.map')
-rw-r--r-- | src/liburing.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liburing.map b/src/liburing.map index ef48835..85e78ca 100644 --- a/src/liburing.map +++ b/src/liburing.map @@ -3,6 +3,7 @@ LIBURING_0.1 { io_uring_queue_init; io_uring_queue_exit; io_uring_get_completion; + io_uring_wait_completion; io_uring_submit; io_uring_get_iocb; local: |