mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
Upgrade io-uring to v0.6
This commit is contained in:
parent
a0255ff919
commit
67f765f003
3 changed files with 7 additions and 5 deletions
|
|
@ -744,8 +744,10 @@ impl RawBufRing {
|
|||
// can register, and unregister, the same way.
|
||||
|
||||
let res = CurrentRing::with(|ring| {
|
||||
ring.submitter()
|
||||
.register_buf_ring(self.ring_addr as _, self.ring_entries(), bgid)
|
||||
unsafe {
|
||||
ring.submitter()
|
||||
.register_buf_ring(self.ring_addr as _, self.ring_entries(), bgid)
|
||||
}
|
||||
});
|
||||
// println!("{}:{}: res {:?}", file!(), line!(), res);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue