Thicket thicket
ocaml
REPOS 9

Multicore covers libraries for effects, domains and concurrent programming.

W44.2024 · 28 Oct – 3 Nov

Multicore repository summaries

3 active · 6 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

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.

ocaml-multicore/picos

Permalink

Features

  • Picos 0.6.0: adds picos_std.awaitable (futex-like abstraction) and lastly as a safe alternative to Fun.protect. Optimizes fiber heap and stack usage. Release
  • Picos PR #321: proposes a bounded blocking Stack data structure. Open, not yet merged. PR

Compatibility and Releases

  • Picos 0.6.0: released 2024-11-01. (Ivar|Stream).poison renamed to poison_at; new poison variant accepts optional ?callstack:int. Release
  • Picos PR #323: OCaml-CI test suite passes on Windows. PR

Fixes

  • Picos 0.6.0: Picos_io_select now raises a proper error when not configured. picos_std.finally forbids cancellation propagation during release calls. Release
  • Picos PR #324: corrects picos_std to depend on picos_aux and upgrades backoff to 0.1.1. PR

ocaml-multicore/saturn

Permalink

Features

  • Saturn (PR #154): Merges a hash table imported from Picos, providing safe and unsafe variants. Adds a new concurrent data structure to the library.
  • Saturn (PR #156): Opens a bounded stack based on the Treiber stack for Saturn 1.0, replacing the earlier blocking variant in PR #155.
  • Saturn (PR #158): Opens additions to the Treiber stack API: of_list, push_all, pop_all, peek_exn, pop_exn, set_exn, and try_compare_and_pop.

Compatibility and Releases

  • Saturn (PR #157): Removes the Relaxed_queue module and the M submodule from Ws_deque, simplifying the API ahead of the 1.0 release.
  • Saturn (PR #68): Closes the rendezvous synchronisation proposal; the author notes the ideas were integrated into DLA and Picos.
  • Saturn (PR #90): Closes the lock-based lazy skiplist, citing that the lock-free variant outperforms it and stdlib mutex issues.
  • Saturn (issue #56): Closes the single-core benchmark tracking issue for comparing domain-safe structures against stdlib equivalents.
6 repositories · no changes