io-uring: ensure that timeouts are encoded in the same submission
This commit is contained in:
parent
7cc6c945d3
commit
4780315f50
5 changed files with 35 additions and 18 deletions
|
|
@ -56,10 +56,6 @@ impl<T> AsyncQueue<T> {
|
|||
}
|
||||
self.waiter.take();
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
unsafe { self.data.get().deref().is_empty() }
|
||||
}
|
||||
}
|
||||
|
||||
pub struct AsyncQueuePop<'a, T> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue