1
0
Fork 0
forked from wry/wry
Commit graph

6 commits

Author SHA1 Message Date
e996d9528a
io_uring: move fd utility helpers into crate 2026-05-29 12:11:41 -04:00
Julian Orth
34914eccb0 all: simplify handling of Errno values 2026-04-02 19:00:42 +02:00
Julian Orth
3338909170 all: set rust edition to 2024 2025-02-21 10:44:29 +01:00
Julian Orth
e377470f3f all: use expect attribute where possible 2024-09-06 11:08:22 +02:00
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
Julian Orth
4d8a340cd0 async: move timer out of async engine 2022-05-12 20:48:29 +02:00