package domainpc

  1. Overview
  2. Docs
Domain Per Core, spawn domains ensuring that they run on separate cores

Install

dune-project
 Dependency

Authors

Maintainers

Sources

domainpc-0.2.tbz
sha256=837943f5a5932f1b27e26b236ce84b72379dea5f6f0212a65213ec403d23e62e
sha512=4ac175f6369d625b1927f48611340cbb6abc015608dda6f28895b7babba52c51f3cf81e9e41619febae176dc1d9b814f8dba9098ae8307ce4779dcf3353338bd

Description

Domain Per Core, spawn domains ensuring that they run on separate cores

Published: 31 Jan 2026

README

DomainPC: Domain Per Core

Offers Domain spawning functions which can ensure that each domain is set to run on its own physical core using CPU affinities from the ocaml-processor library. These functions are described in domainpc_sig.mli.

It also offers a replacement of the standard library's Domain module where these functions are available.

Note: when using the library one should not use Domain.spawn (from the standard library) as it would break the library's invariant guaranteeing that domains run on separate cores.

Dependencies (3)

  1. processor
  2. ocaml >= "5.2"
  3. dune >= "3.20"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None