Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
6c399dd
Sketch UringSystem with new PollingSystem APIs
antoniojimeneznieto Apr 11, 2026
915d360
Make UringSystem multi-threaded
antoniojimeneznieto May 5, 2026
d743a88
Drop SINGLE_ISSUER/DEFER_TASKRUN flags incompatbile with per-worker ring
antoniojimeneznieto May 9, 2026
9eabab1
Add @link("uring") to extern bindings
antoniojimeneznieto May 9, 2026
1e21565
Set wait_nr to 1 because workers park in the polling call
antoniojimeneznieto May 9, 2026
f0f78aa
Add minimal UringSystemSuite testing startup
antoniojimeneznieto May 9, 2026
1254cfb
Compile uring.c only when liburing extern is reachable
antoniojimeneznieto May 9, 2026
19990e0
Rename uringNative/uringNativeOps to liburing/liburingOps
antoniojimeneznieto May 9, 2026
3b90808
Mirror fs2-io_uring's sqe/cqe accessor and prep_rw shapes
antoniojimeneznieto May 9, 2026
e2794ad
Add submit noop test
antoniojimeneznieto May 9, 2026
7e9f8a6
Add cancel a pending poll_add test
antoniojimeneznieto May 9, 2026
cb863f7
Use integer ids instead of object pointers in io_uring user_data
antoniojimeneznieto May 9, 2026
2160c7b
Add submit nop SQEs in parallel and resume on completion test
antoniojimeneznieto May 9, 2026
c2bcd0d
Add blocking annotation
antoniojimeneznieto May 10, 2026
c0cc17c
Handle callbacks in one pass
antoniojimeneznieto May 10, 2026
2e69aa4
Remove unused Array and comments
antoniojimeneznieto May 10, 2026
3af960c
Heap-allocate cqes pointer buffer mirroring EpollSystem.eventsArray
antoniojimeneznieto May 10, 2026
9f358a1
remove todo after fixing the problem
antoniojimeneznieto May 10, 2026
ef71039
Add submit nop SQEs in parallel and resume on completion many times in a
antoniojimeneznieto May 10, 2026
3491436
formatting
antoniojimeneznieto May 10, 2026
b58e907
Replace MaxEvents literal with PollingTicks constant
antoniojimeneznieto May 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions core/native/src/main/resources/scala-native/uring.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#ifdef CATS_EFFECT_URING

#include <liburing.h>

struct io_uring_sqe *ce_io_uring_get_sqe(struct io_uring *ring) {
return io_uring_get_sqe(ring);
}

void ce_io_uring_cq_advance(struct io_uring *ring, unsigned nr) {
io_uring_cq_advance(ring, nr);
}

#endif
Loading
Loading