ringbahn icon indicating copy to clipboard operation
ringbahn copied to clipboard

safe bindings to io-uring

Results 17 ringbahn issues
Sort by recently updated
recently updated
newest added

- fix a spelling mistake - ~also use `eprintln!` in place of `println!`~ - switch to paste tense for actions that already occurred

Use specific `use` statements for ringbahn modules and types in the `read-event` example, to match the style of the other examples. Specific imports make it more obvious where things are...

Started to add the missing functionality to eventually match with `std::fs::File`. This is my first time working with ringbahn and its internals, so this might have horrible issues.

https://github.com/ringbahn/ringbahn/blob/08e6464e64d8cc92e4af837dfe96778c85fc401c/src/fs.rs#L310-L318 Line 315 leaks the fd. The code below can prove that the fd is leaked. ```rust #![forbid(unsafe_code)] use std::os::unix::io::AsRawFd; use std::pin::Pin; use std::task::{Context, Poll}; use std::thread; use std::time::Duration; use...

It seems like Windows IOCP are similar to io_uring, and this crate seems to be high-level enough that the support for IOCP could be added to it.

Add a `sendto` event by wrapping `iou::prep_sendmsg`. I wasn't entirely sure whether I should box the `SockAddr` and `msghdr` members. When I tried boxing the `SockAddr` I ran into an...

Currently when I try to run the echo server example both client and server just hang. After a bit more inspection it seems to be that the `TcpListener` never gets...

It occurred to me this monring that io-uring is exceptionally mockable as far as IO interfaces go, because it is mostly just a data structure. With changes to make it...

This PR is a minor edit of PR #23 . Glob imports can add an element of cognitive overhead to understanding library usage. I chose `use ringbahn as rb;` so...

If a println gets separated into multiple writes, it could be interleaved with the printing of other tasks. This should be fixed at some point.