Multicore covers libraries for effects, domains and concurrent programming.
Multicore repository summaries
1 active · 8 unchanged
ocaml-multicore/eio
PermalinkFeatures
-
Windows symlink and junction support (merged):
Eio_posixon 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 onEio.Switch.remove_hookthat 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_skipfrom mdx 2.7.0+; several POSIX-dependent tests use a helper, with further conversion in progress. (#979, @avsm)
Compatibility and Releases
Eio_unix.System_infois now lazily collected (merged): System information is no longer gathered at startup; callers invoke agetfunction 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.runnow records the switch error before cancelling daemon fibers, soFiber.await_cancelandSwitch.get_errorreport the actual exception rather than a hard-codedExit. (#978, @talex5; based on #961 by @vog) -
Unix socket file no longer deleted on failed
bind(merged):Eio.Net.listenon a Unix path registers the unlink hook only afterbindsucceeds, 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, matchingeio_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)