Jonathan Flat
feb66db229
Merge remote-tracking branch 'origin/main' into automerge/merge-main-2026-10-17_09-08
2026-10-17 13:38:14 -06:00
Jonathan Flat
f5fe750a57
Improve CSystem import handling
2026-10-12 19:39:51 -06:00
Franz Busch
95ed6aa2a4
Address review comments
2026-10-06 10:21:52 +02:00
Franz Busch
cbf57d4575
[IO_URING] Keep the completion of failed IORing operations
...
When an operation failed, the blocking consume methods dropped its completion and only reported the `Errno`. The caller could not tell which request failed, since the `context` was lost. This breaks any user that matches completions to requests.
This PR makes `blockingConsumeCompletions` pass the completion of a failed operation together with its error. Errors of the ring itself, such as `.timeout`, are still passed without a completion. Additionally, `blockingConsumeCompletion(timeout:)` now returns the completion of a failed operation instead of throwing. It only throws errors of the ring itself.
I also added `Completion.error`, which is `nil` on success and the decoded `Errno` otherwise to make it easy to get to the error of a completion.
Fixes #364
Fixes #395
2026-10-05 20:59:39 +02:00
Jonathan Flat
74a7b6f618
Fix missing done in IORing.blockingConsumeCompletions
2026-09-30 15:59:05 -06:00
Jonathan Flat
dc65a924d9
Doc comment updates
2026-09-24 19:36:21 -06:00
Guillaume Lessard
4df226b098
Fix copyright notices
2026-07-28 16:46:33 -07:00
Guillaume Lessard
2d0912acba
Specify some omitted error types
2026-07-13 10:40:41 -07:00
Guillaume Lessard
73da907161
improve Errno handling for io_uring_register
2026-07-06 14:11:32 -07:00
Guillaume Lessard
124e17164c
improve Errno handling for io_uring_enter
2026-07-06 14:11:32 -07:00
Guillaume Lessard
d7ca4a9e4c
improve Errno handling for io_uring_enter2
2026-07-06 14:11:32 -07:00
Guillaume Lessard
76a2dc6162
Improve _blockingConsumeCompletionGuts
2026-06-27 11:24:37 -07:00
David Smith
6fa5c8a6c1
Explain why this is a class
2026-06-04 16:05:44 -07:00
David Smith
2cae953181
Fix a crash when work is interleaved between prepare and submit in IORing
2026-06-04 16:05:28 -07:00
Guillaume Lessard
c4fef8b59a
Disable non-escapable API by feature flag
2025-07-30 09:21:05 -07:00
Jonathan Flat
d32abd8c6e
Fix warning: will never be executed
2025-07-29 15:35:30 -06:00
Jonathan Flat
5fedb102b5
Fix IORing build for older Linux kernel versions
2025-07-29 14:24:17 -06:00
Jonathan Flat
a067a0751a
Merge pull request #242 from jrflat/fix-ioring-static-linux-sdk
...
Fix IORing static Linux SDK
2025-07-28 14:31:18 -06:00
Jonathan Flat
4f5b5fb40d
Fix IORing static Linux SDK
2025-07-28 12:08:37 -06:00
Jonathan Flat
5059730d24
Fix IORing release build
2025-07-28 10:52:35 -06:00
David Smith
9a046498d0
Try adding newlines to the ends of files to work around a compiler bug
2025-07-11 19:23:24 +00:00
David Smith
a56bcda3c1
Un-combine conditionals but flip their order. This should fix the Windows build with older compilers
2025-07-11 19:07:04 +00:00
David Smith
f7c05e1fb8
Combine platform conditionals
2025-07-11 18:53:55 +00:00
David Smith
7fc787e6ba
Move IORing files to a subdirectory
2025-07-11 17:00:32 +00:00