Thicket thicket
ocaml
REPOS 9

Multicore covers libraries for effects, domains and concurrent programming.

W47.2024 · 18–24 NovMulticore

Features

  • Saturn work-stealing deque: Merged optimization eliminates false sharing; benchmarks show ~2.4× throughput at 8 workers. #124
  • Saturn bounded queue: Merged non-blocking bounded queue with cached capacity. Provides push, pop, try_push, length, is_empty; avoids a Picos dependency. #160
  • Saturn bounded stack: Merged non-blocking bounded stack for Saturn 1.0. #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, 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. #162
  • Eio v1.2: Makes fork_action.h a public header for registering fork actions. Adds trace events for process spawning and makes Eio_unix.Net return types more polymorphic. release

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
  • Eio v1.2 (Windows): Works around Unix.getaddrinfo not setting ai_protocol via separate TCP/UDP queries. Groups ECONNABORTED with 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; openat error handling fixes spurious ENOENT exceptions. release

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
  • Saturn queue API: Three proposed PRs add drop_exn, of_list, and consistent documentation across SPSC, Michael-Scott, and work-stealing deque modules. #165, #167, #168
  • Picos PR #331: Proposed a workaround for cohttp dependencies on OpenBSD; closed without merging on 2024-11-25. #331