1
0
Fork 0
forked from wry/wry
wry/src/io_uring/ops
Julian Orth 9812a02f87 io: use io_uring for all io
There should no longer be any

- read
- write
- connect
- sendmsg
- recvmsg
- accept

calls in the codebase. Previously we were using a mix of io_uring and
these calls which had some negative effects: Since we were using the old
system calls, we had to set the file descriptors to non-blocking. But
our io_uring code did not handle EAGAIN. This lead to programs sometimes
being killed when the wayland IO was actually blocking.

Now all file descriptors are set to blocking, but io_uring makes it
non-blocking from our perspective. The one exception are evdev files
because they are read via libinput and libinput uses the old system
calls.
2022-12-31 17:56:58 +01:00
..
accept.rs io: use io_uring for all io 2022-12-31 17:56:58 +01:00
async_cancel.rs io_uring: remove unnecessary interior mutability 2022-05-17 15:10:45 +02:00
connect.rs io: use io_uring for all io 2022-12-31 17:56:58 +01:00
poll.rs io: use io_uring for all io 2022-12-31 17:56:58 +01:00
read_write.rs io: use io_uring for all io 2022-12-31 17:56:58 +01:00
recvmsg.rs io: use io_uring for all io 2022-12-31 17:56:58 +01:00
sendmsg.rs io: use io_uring for all io 2022-12-31 17:56:58 +01:00
timeout.rs io-uring: add sendmsg 2022-05-13 17:37:20 +02:00