1
0
Fork 0
forked from wry/wry
Commit graph

13 commits

Author SHA1 Message Date
Julian Orth
58cab8894c all: fix clippy lints 2024-02-04 20:17:55 +01: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
ae991b9038 all: address clippy lints 2022-08-13 17:46:23 +02:00
Julian Orth
d6fabcb2b5 xwayland: implement copy/paste 2022-05-10 01:47:36 +02:00
Julian Orth
be32036824 autocommit 2022-04-07 17:31:31 CEST 2022-04-07 17:31:31 +02:00
Julian Orth
e897d271af autocommit 2022-04-04 14:29:04 CEST 2022-04-04 14:29:04 +02:00
Julian Orth
6de9fb8303 autocommit 2022-04-02 19:38:13 CEST 2022-04-02 19:38:13 +02:00
Julian Orth
9842264fad autocommit 2022-03-29 15:40:59 CEST 2022-03-29 15:40:59 +02:00
Julian Orth
6ebf731aea autocommit 2022-03-29 14:11:25 CEST 2022-03-29 14:11:25 +02:00
Julian Orth
707ff6066c autocommit 2022-03-26 22:58:30 CET 2022-03-26 22:58:30 +01:00
Julian Orth
63be47a9fb autocommit 2022-03-23 14:35:09 CET 2022-03-23 14:35:09 +01:00
Julian Orth
6597a57ad5 autocommit 2022-03-23 00:14:22 CET 2022-03-23 00:14:22 +01:00
Julian Orth
2ff60ff817 autocommit 2022-03-22 23:24:17 CET 2022-03-22 23:24:17 +01:00