Thicket thicket
ocaml
REPOS 9

Multicore covers libraries for effects, domains and concurrent programming.

W44.2024 · 28 Oct – 3 Novocaml-multicore/eio

Features

Eio (Eio.Process.Pipe): PR #775 (open) relaxes pipe return types to accept any subtype of Flow.source_ty and Flow.sink_ty via polymorphic variants, addressing issue #750. A prior attempt (PR #770) was closed unmerged on 2024-10-28.

Eio (Eio.Path.chmod): PR #772 (ongoing, not merged) adds a chmod function with ~follow and ~perm parameters, integrated with the resource abstraction. A failing Windows stub is planned to reduce future implementation burden.

Eio (Eio.Resource type-safety): Issue #774 (open) documents a gap where Obj.magic in Resource.pi permits invalid handler construction to yield wrong-typed values. mbarbin and v-gb propose a functor-based Create approach; a draft branch converts 18 of 22 constructors.

Fixes

Eio (Eio.Net.getaddrinfo_stream): Issue #776 (open) reports that getaddrinfo_stream returns no addresses after ~1019 calls on Linux when connections remain open. Unclosed connections exhaust a Linux resource, causing getaddrinfo to fail silently; closing connections or scoping switches resolves it.

Compatibility and Releases

Eio (Windows test suite): PR #773 (ongoing) enables the main test suite on Windows by removing the Win32 exclusion in tests/dune. Stack overflow failures in MDX tests are under investigation.