Multicore covers libraries for effects, domains and concurrent programming.
Multicore repository summaries
3 active · 6 unchanged
ocaml-multicore/eio
PermalinkFeatures
-
io_uring for additional operations (Linux).
ftruncate,fdatasync,fsync,shutdown,socket,bind, andlistennow use io_uring when available, reducing syscalls on the hot path. Merged by @avsm. #850 -
Cross-platform socket options.
TCP_KEEPIDLEmaps toTCP_KEEPALIVEon macOS. Per-platform availability is now documented in the API.TCP_FASTOPENis disabled on non-Linux systems due to inconsistent behaviour. Merged by @talex5. #890 -
Eio_unix.Errmodule. New public module providingErr.vto wrapUnix_errorintoEio.Ioexceptions, replacing ad-hocwrap/wrap_fshelpers across backends. Merged by @talex5. #887 -
Pre-connect socket options (proposal). A GADT-based options list allows setting socket options (e.g.
reuse_addr) beforeconnect, building on earlier work by @art-w. Open, under review. #875
Fixes
-
Sockopt exception handling restored. Sockopt functions again raise
Eio.Ioexceptions in all failure cases; a regression introduced by the stub relocation in #889. Merged by @talex5. #891 -
macOS
POLLNVALfallback (open).eio_posixresumes waiters with anUnpollableexception whenpoll()returnsPOLLNVAL(e.g./dev/tty,/dev/null), then polls those fds viaselect()in a systhread. Open, not yet merged. #893
Compatibility
- Sockopt stubs moved to
eio.unix. C stubs for extended socket options are now shared betweeneio_linuxandeio_posix, and are structured to compile on Windows (untested). Merged by @talex5. #889
ocaml-multicore/ocaml-uring
PermalinkFixes
- Issue #160 (opened and closed 2026-07-19/20) reports a potential double-free in
uring_stubs.cwhenio_uring_queue_init_paramsfails. A comment disputes the report, noting the custom-block finaliser iscustom_finalize_default(NULL), so no dangling pointer is freed. Resolution is not stated in the supplied data.
ocaml-multicore/saturn
PermalinkFixes
- Merged: test suite build corrected to work against a recent
qcheckrelease. Affects developers building the saturn test suite; no change to the public API. (#188, lyrm)