Thicket thicket
ocaml
REPOS 9

Multicore covers libraries for effects, domains and concurrent programming.

April 2025

Monthly story not yet available.

W17.2025 · 21–27 AprMulticore

Features

  • Picos multififo scheduler: merged periodic fiber stealing to balance load across worker threads. Each worker uses a countdown to target a random victim with a longer ready queue. (#358)
  • Picos structured concurrency: merged an example implementing guarded case statements (as in Clerical) on top of Picos's structured concurrency primitives. Attributed to @polytypic with a note to @andrejbauer. (#355)
  • Picos test scheduler: merged a ?verbose flag and a basic fairness test for scheduler implementations. (#359)
  • Eio (API proposal): open request for a public predicate to check whether code runs under Eio's event loop. A maintainer confirms the need and notes potential conflict with future typed effects or thread-local storage. #800

Fixes

  • Picos semaphore stress test: merged a fix avoiding thread-based scheduling to prevent Sys_error from excessive thread creation on CI. Closes #353. (#354)
  • domainslib #131: Domainslib.Task.teardown_pool hangs at 0% CPU and ignores Ctrl+C when called after Domainslib.Task.run on a pool sized to recommended_domain_count () - 1. Open, no resolution. Issue
  • Eio_linux (Uring + fork): open bug: Eio_linux hangs when Uring.cancel is called after Unix.fork in a multi-domain program; the submission queue appears full post-fork. A minimal Uring-only repro was provided. #801

Compatibility

  • Picos picos_lwt: open issue proposing to replace shallow handlers with deep handlers in the Lwt compatibility layer. No resolution recorded. (#356)