1
0
Fork 0
forked from wry/wry
Commit graph

24 commits

Author SHA1 Message Date
elden
6341623e72 all: add musl support 2025-05-09 15:39:56 +02:00
Julian Orth
fd2163d658 config: add client-rule infrastructure 2025-05-07 22:41:43 +02:00
Julian Orth
597636fba6 io_uring: add debounce future 2025-05-07 22:41:43 +02:00
Julian Orth
e22810e94d io_uring: use newer features if available 2025-04-24 19:49:48 +02:00
Julian Orth
3338909170 all: set rust edition to 2024 2025-02-21 10:44:29 +01:00
Julian Orth
1e45a243de all: remove unnecessary mem:: prefix 2024-10-12 14:50:05 +02:00
Julian Orth
fac5445f2e wayland: implement commit-timing-v1 2024-10-11 21:03:33 +02:00
Julian Orth
fa46527a37 io_uring: add timeout_external 2024-10-11 20:42:35 +02:00
Julian Orth
ccad3cf0fb all: use tracy for tracing 2024-09-15 18:08:54 +02:00
Julian Orth
04343c96d6 commit_timeline: wait for implicit sync dmabufs 2024-09-10 23:37:24 +02:00
Julian Orth
ed4ef3c8e7 cpu_worker: add worker-thread framework 2024-09-08 14:29:49 +02:00
Julian Orth
874d0d0c59 io_uring: add ops for non-owning read/write operations 2024-09-08 10:51:57 +02:00
Julian Orth
6cbf6119de io_uring: use strongly typed ids 2024-09-08 09:59:05 +02:00
Julian Orth
e377470f3f all: use expect attribute where possible 2024-09-06 11:08:22 +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
20b1f29343 io_uring: remove unnecessary interior mutability 2022-05-17 15:10:45 +02: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
7cc6c945d3 io-uring: add recvmsg 2022-05-13 21:17:28 +02:00
Julian Orth
22b7fb2ced tests: fix ol' forker dumping core in tests 2022-05-13 19:26:55 +02:00
Julian Orth
ad85d89641 io-uring: add timeout argument to write 2022-05-13 18:24:12 +02:00
Julian Orth
e4f97287bc io-uring: add sendmsg 2022-05-13 17:37:20 +02:00
Julian Orth
dcdd91c0b0 io-uring: add readable/writable 2022-05-12 20:33:58 +02:00
Julian Orth
285724b4f1 xwayland: use io_uring to prevent lockups
See https://gitlab.freedesktop.org/wayland/wayland/-/issues/296
2022-05-11 21:45:44 +02:00