Thicket thicket
ocaml
REPOS 9

Multicore covers libraries for effects, domains and concurrent programming.

W20.2026 · 11–17 Mayocaml-multicore/ocaml-uring

Features

  • ocaml-uring: Merged #131 adds the Uring.Res module; uring operations now return Uring.Res.t (a private int) instead of bare int. Provides typed conversion to Unix.file_descr or error, eliminating Obj.magic workarounds.
  • ocaml-uring: #130 (type-safe wait functions, by dra27) closed without merging. Explores encoding return types in job IDs to eliminate bare int results; discussion notes Eio integration challenges.

Fixes

  • ocaml-uring: Merged #132 adds MSG_CMSG_CLOEXEC when receiving file descriptors. Prevents FD leaks in multi-threaded programs where setting CLOEXEC after creation is too late.
  • ocaml-uring: Merged #134 skips the receive step in the send test when the send fails, preventing test hangs on Linux 5.10.

Compatibility and Releases

  • ocaml-uring: Merged #133 adds a documentation warning that Uring.write_fixed hangs on ZFS filesystems (issue #113). The underlying kernel bug is not fixable in userspace.
  • ocaml-uring: #117 (FD from Uring.accept unusable with Unix module) closed as resolved by the Uring.Res module in PR #131.
  • ocaml-uring: #55 (FD-passing sendmsg failing with EINVAL on WSL2) closed as presumably fixed by kernel updates.
  • ocaml-uring: #129 (alternative FD conversion approach) closed in favour of the simpler Uring.Res design in PR #131.