Closed quininer closed 4 years ago
You mean IORING_OP_TIMEOUT won't delay enough time? What's the problem?
off may contain a completion event count. If not set, this defaults to 1. A timeout will trigger a wakeup event on the completion ring for anyone waiting for events. A timeout condition is met when either the specified timeout expires, or the specified number of events have completed.
We don't want completed events to affect timeout.
you may set off=0
Ha, this is very useful! I think the document of liburing
needs to be updated.
never trust the document. source code is the best document.
Thank for your help.
The current implementation of Timer cannot delay enough time, we may need to use timerfd.