Thicket thicket
ocaml
REPOS 9

Multicore covers libraries for effects, domains and concurrent programming.

W30.2026 · 20–26 Julocaml-multicore/eio

Features

  • v1.4 released (release). Adds Eio_unix.Pty, Eio.Net.Sockopt, Path.with_dir_entries, Flow.null, Path.chmod/chown, spawn_unix ?uid ?gid ?pgid, Stdenv.override, and Eio_unix.Err.

  • Eio_unix.Pty provides pseudoterminal creation and configuration; spawn_unix ?login_tty connects a pty to a child process. (#531)

  • Path.with_dir_entries reads a directory incrementally and reports each entry's type, avoiding one stat per entry. (#821, #897)

Compatibility and Releases

  • eio_linux now requires Linux 5.18 or later; Eio_main.run falls back to eio_posix on older kernels. (v1.4)

  • Breaking: Net.getaddrinfo raises an exception on lookup failure instead of returning []; error messages now include the queried name. (#900, #866)

  • Function applications eta-expanded to support OxCaml compilation, where local inference requires explicit arity. No effect on standard OCaml. (#898)

Fixes

  • eio_posix on macOS: FDs where poll() returns POLLNVAL (e.g. /dev/null, /dev/tty) now fall back to select() in a systhread. Fixes a crash in Eio.Flow.copy_string to /dev/null. (#893, #757)

  • eio_linux getdents no longer returns an empty batch when only ./.. entries are present, preventing premature end-of-directory on FUSE filesystems. (#897)