1
0
Fork 0
forked from wry/wry
Commit graph

5 commits

Author SHA1 Message Date
Julian Orth
6cbf6119de io_uring: use strongly typed ids 2024-09-08 09:59:05 +02:00
Julian Orth
c2d31cb639 metal: delay rendering until shortly before page flip 2024-05-20 15:29:16 +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
4780315f50 io-uring: ensure that timeouts are encoded in the same submission 2022-05-13 22:31:56 +02:00
Julian Orth
e4f97287bc io-uring: add sendmsg 2022-05-13 17:37:20 +02:00