Multicore covers libraries for effects, domains and concurrent programming.
Multicore repository summaries
4 active · 5 unchanged
ocaml-multicore/eio
PermalinkFeatures
- Eio v1.2: Makes
fork_action.ha public header so other libraries can register new fork actions. Adds trace events for process spawning and makesEio_unix.Netreturn types more polymorphic. (release) - Eio (PR #781): Open PR by @patricoferris adding
chowntoeio_posixandeio_linuxviafchownat. Review discussion covers whetherchownbelongs in the cross-platform API, given it is unimplemented on Windows. (PR)
Compatibility and Releases
Fixes
- Eio v1.2 (Windows): Works around
Unix.getaddrinfonot settingai_protocolby issuing separate TCP/UDP queries. GroupsECONNABORTEDwith other connection-reset errors and unregisters FDs on cancel to fixENOTSOCK. (#780, #783) - Eio v1.2: Preserves backtraces in
fork_daemon.Eio.Pathalways uses/as separator, andopenaterror handling is improved to fix spuriousENOENTexceptions. (release)
ocaml-multicore/ocaml-uring
PermalinkFixes
- ocaml-uring: Issue #119 reports a random hang in
_io_uring_get_cqeafter ~1 week of running withcohttp-eioandEio.Time.sleep_until. A maintainer suggestedeio-traceandOCAML_RUNTIME_EVENTSfor diagnosis. Opened 2024-11-23; closed after the reporting interval.
ocaml-multicore/picos
PermalinkFixes
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
PermalinkFeatures
-
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, andtry_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; renamespop/peektopop_exn/peek_exn; restrictsis_emptyandcloseto 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