-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nicer wait with timeout API #90
Comments
Or does submit_and_wait do that? If so, is there a way to set a timeout? |
Okay, I see how this is supposed to work. The thing I'm after is waiting with a timeout. I believe the way to do this is to submit a timeout event then call submit_and_wait. I'd be nice to have a simple wait with timeout function like liburing has. |
You can also use |
Thanks! That's exactly what I'm looking for. Maybe add doc comment saying that's what that timespec does. |
liburing has a way to block until completion events come in. I'd be nice to have that functionality in this library. Some like https://unixism.net/loti/ref-liburing/completion.html#c.io_uring_wait_cqe
The text was updated successfully, but these errors were encountered: