Thicket thicket
ocaml
REPOS 1

Multicore covers libraries for effects, domains and concurrent programming.

W29.2026 · 13–19 Julocaml-multicore/eio

Features

  • io_uring for additional operations (Linux). ftruncate, fdatasync, fsync, shutdown, socket, bind, and listen now use io_uring when available, reducing syscalls on the hot path. Merged by @avsm. #850

  • Cross-platform socket options. TCP_KEEPIDLE maps to TCP_KEEPALIVE on macOS. Per-platform availability is now documented in the API. TCP_FASTOPEN is disabled on non-Linux systems due to inconsistent behaviour. Merged by @talex5. #890

  • Eio_unix.Err module. New public module providing Err.v to wrap Unix_error into Eio.Io exceptions, replacing ad-hoc wrap/wrap_fs helpers across backends. Merged by @talex5. #887

  • Pre-connect socket options (proposal). A GADT-based options list allows setting socket options (e.g. reuse_addr) before connect, building on earlier work by @art-w. Open, under review. #875

Fixes

  • Sockopt exception handling restored. Sockopt functions again raise Eio.Io exceptions in all failure cases; a regression introduced by the stub relocation in #889. Merged by @talex5. #891

  • macOS POLLNVAL fallback (open). eio_posix resumes waiters with an Unpollable exception when poll() returns POLLNVAL (e.g. /dev/tty, /dev/null), then polls those fds via select() in a systhread. Open, not yet merged. #893

Compatibility

  • Sockopt stubs moved to eio.unix. C stubs for extended socket options are now shared between eio_linux and eio_posix, and are structured to compile on Windows (untested). Merged by @talex5. #889