Thicket thicket
ocaml
REPOS 1

Multicore covers libraries for effects, domains and concurrent programming.

W46.2026 · 9–15 Novocaml-multicore/eio

Features

  • Windows symlink and junction support (merged): Eio_posix on Windows now resolves symlinks, junctions, and reparse-point variants without sandbox escapes, using directory handles and C bindings for reparse buffers. Enables Forester to traverse forests containing symlinks. (#968, @avsm)

  • Eio.Switch.remove_hook ~run:true (merged): New flag on Eio.Switch.remove_hook that executes the hook's cleanup actions immediately upon removal, replacing the manual remove-then-cleanup pattern. (#972, @talex5)

  • Windows MDX test suite (open): Activates MDX-based tests on Windows using mdx_skip from mdx 2.7.0+; several POSIX-dependent tests use a helper, with further conversion in progress. (#979, @avsm)

Compatibility and Releases

  • Eio_unix.System_info is now lazily collected (merged): System information is no longer gathered at startup; callers invoke a get function on demand. Reduces startup cost, particularly on Windows. The previous eager value remains accessible for compatibility. (#969, @talex5)

Fixes

  • Error propagation to daemon fibers (merged): Eio.Switch.run now records the switch error before cancelling daemon fibers, so Fiber.await_cancel and Switch.get_error report the actual exception rather than a hard-coded Exit. (#978, @talex5; based on #961 by @vog)

  • Unix socket file no longer deleted on failed bind (merged): Eio.Net.listen on a Unix path registers the unlink hook only after bind succeeds, preventing a second (failing) listener from removing the first listener's socket file. Also cleans up Unix datagram sockets on close. (#971, @talex5; fixes #970)

  • Trailing-slash sandbox escape in eio_posix (merged): A trailing slash on the final path component no longer follows a symlink out of the sandbox. Operations on the target treat "foo/" as "foo/."; operations on the directory entry drop the slash, matching eio_linux. (#967, @avsm)

  • Unix-domain socket cleanup on explicit close (merged): Closing a Unix-domain socket immediately removes its file; previously the file was removed only when the enclosing switch finished, or not at all. Unlink failures are no longer reported as errors. (#977, @talex5)