Franz Busch
e69d5c1f3c
[IO_URING] Add support for pollAdd operation
...
## Motivation
To observe events on file descriptors IO_URING supports the `pollAdd` operation. This is useful when you want to observe a file descriptor becoming ready to read or write
## Modifications
This PR adds a new `IORing.Request.PollEvents` option set to model the poll masks. Furthermore, it adds a new `static func pollAdd` to the `IORing.Request`.
## Result
We can now use IO_URING to poll for events on file descriptors.
2025-12-08 12:05:48 +01:00
Jonathan Flat
a5f13c77b8
Fix typedef errors on platforms with _ASM_GENERIC_INT headers
2025-08-03 11:24:24 -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
8de80270cb
Fix WASI build (dirent, umask, errno and open flag tests)
2025-07-25 14:03:59 -06:00
David Smith
4b70ffe375
Fix short submits and also fix the registration ops enum, which somehow stopped compiling overnight
2025-07-09 20:53:23 +00:00
David Smith
d2b78f801b
Remove unneeded defines
2025-07-08 23:53:50 +00:00
David Smith
f9c2a2b8e7
Work around io_uring.h in ways that will work on both versions
2025-06-18 23:08:45 +00:00
David Smith
05eac87c08
It compiles again!
2025-04-18 23:38:43 +00:00
David Smith
fdbcecab0b
Eliminate internal locking and add multiple consume support
2025-02-06 00:42:21 +00:00
David Smith
f369347b73
Fix mismerge
2024-10-28 17:25:31 -07:00
David Smith
1a3e37d791
Fix mismerge
2024-10-28 17:24:46 -07:00
Lucy Satheesan
0762f57d80
migrate CSystem to systemLibrary
...
for some reason, the linker on my linux machine fails
to link the tests otherwise. investigate / fix before merging.
2023-08-10 16:03:21 -07:00
Lucy Satheesan
15794f5cad
ioring pitch: first steps
2023-07-18 21:04:39 -07:00
Saleem Abdulrasool
b614185c90
build: add a CMake based build system ( #38 )
...
This will allow using Swift System in the toolchain stack, allowing us
to bootstrap a toolchain.
2021-03-18 16:18:24 -06:00
Saleem Abdulrasool
4ffcc62e9b
Initial port to Windows
...
This adds enough shims and tweaks the types sufficiently to allow
building System on Windows.
2020-11-03 15:03:51 -08:00
Michael Ilseman
8ffa04c0a0
Initial version of Swift System
2020-09-25 08:20:58 -07:00