commit | 76e9232baa006c56d779b568dd0b6ec3862d4107 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Sep 20 22:15:38 2019 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Sep 21 13:02:05 2019 -0600 |
tree | e68648ab8968800cd0764367af8a62066d103a80 | |
parent | d5bb23be626387b11edc35d36b2571c34e7013f4 [diff] |
Add io_uring_wait_cqe_timeout() Like io_uring_wait_cqe(), except it accepts a timeout value as well. Note that an sqe is used internally to handle the timeout. Applications using this function must never set sqe->user_data to LIBURING_UDATA_TIMEOUT! Signed-off-by: Jens Axboe <axboe@kernel.dk>