1
0
Fork 0
forked from wry/wry
Commit graph

6 commits

Author SHA1 Message Date
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
ae991b9038 all: address clippy lints 2022-08-13 17:46:23 +02:00
Julian Orth
54cf01f745 autocommit 2022-04-18 14:14:25 CEST 2022-04-18 14:14:25 +02:00
Julian Orth
affab05b94 autocommit 2022-04-17 18:45:01 CEST 2022-04-17 18:45:01 +02:00
Julian Orth
1eb0d3e173 autocommit 2022-04-17 17:59:45 CEST 2022-04-17 17:59:45 +02:00
Julian Orth
a30306e3d5 autocommit 2022-04-17 17:08:31 CEST 2022-04-17 17:08:31 +02:00