Thicket thicket
ocaml
REPOS 9

Multicore covers libraries for effects, domains and concurrent programming.

W47.2024 · 18–24 Nov

Multicore repository summaries

4 active · 5 unchanged

Back to weekly digest

ocaml-multicore/eio

Permalink

Features

  • Eio v1.2: Makes fork_action.h a public header so other libraries can register new fork actions. Adds trace events for process spawning and makes Eio_unix.Net return types more polymorphic. (release)
  • Eio (PR #781): Open PR by @patricoferris adding chown to eio_posix and eio_linux via fchownat. Review discussion covers whether chown belongs in the cross-platform API, given it is unimplemented on Windows. (PR)

Compatibility and Releases

  • Eio v1.2: Released 2024-11-23. Fixes tests on OpenBSD by adding a bash dependency and accepting www as a service name for port 80. (release, #782)

Fixes

  • Eio v1.2 (Windows): Works around Unix.getaddrinfo not setting ai_protocol by issuing separate TCP/UDP queries. Groups ECONNABORTED with other connection-reset errors and unregisters FDs on cancel to fix ENOTSOCK. (#780, #783)
  • Eio v1.2: Preserves backtraces in fork_daemon. Eio.Path always uses / as separator, and openat error handling is improved to fix spurious ENOENT exceptions. (release)

ocaml-multicore/ocaml-uring

Permalink

Fixes

  • ocaml-uring: Issue #119 reports a random hang in _io_uring_get_cqe after ~1 week of running with cohttp-eio and Eio.Time.sleep_until. A maintainer suggested eio-trace and OCAML_RUNTIME_EVENTS for diagnosis. Opened 2024-11-23; closed after the reporting interval.

ocaml-multicore/picos

Permalink

Fixes

  • Picos PR #333: removes the caml_ml_domain_id reference in the OCaml 4 JS backend, restoring picos.thread after js_of_ocaml stopped exporting that runtime value. Merged 2024-11-25. (#333, #332)

Compatibility and Releases

  • Picos PR #331: proposed a workaround for cohttp dependencies on OpenBSD; closed without merging on 2024-11-25. (#331)

ocaml-multicore/saturn

Permalink

Features

  • Saturn work-stealing deque: Merged optimization eliminates false sharing and reduces contention. Benchmarks show ~2.4× throughput at 8 workers (177→428 spawns/time). By polytypic. #124

  • Saturn bounded queue: Merged non-blocking bounded queue based on Michael-Scott with cached capacity. Avoids a Picos dependency; provides push, pop, try_push, length, is_empty. #160

  • Saturn bounded stack: Merged bounded stack for Saturn 1.0, non-blocking to avoid a Picos dependency. #156

  • Saturn Treiber stack: Merged expansion adds of_list, push_all, pop_all, of_seq, add_seq, to_seq, peek_exn, drop_exn, set_exn, try_compare_and_pop, and try_compare_and_set. #158

  • Saturn MPSC queue: Proposed rewrite aligns the queue with Eio's single-consumer model. Adds drop_exn, push_all, of_list; renames pop/peek to pop_exn/peek_exn; restricts is_empty and close to the consumer. #162

  • Saturn queue API uniformization: Three proposed PRs add drop_exn, of_list, and consistent documentation across SPSC, Michael-Scott, and work-stealing deque modules. #165, #167, #168

Fixes

  • Saturn Treiber stack: Merged fix for minor documentation and List.@ usage issues. #163

Compatibility and Releases

  • Saturn bounded queue design: PR #83 (blocking bounded queue via Picos) closed without merge; the non-blocking approach in PR #160 supersedes it to avoid a Picos dependency. #83
5 repositories · no changes