package domainpc

  1. Overview
  2. Docs
Spawn domains ensuring that they run on separate cores

Install

dune-project
 Dependency

Authors

Maintainers

Sources

domainpc-0.1.tbz
sha256=f3ac96a3216465aef70ea50caeae27945b5f4a934f1bacbf5f9caec5de92b4a7
sha512=ba314deb11c90af7d32c8fc6e891f4192447bd38fe5f489f01e15349f4ec1d8ee30d292988b992ebd00eca222d02f88f0ee3deb37ff399e4d9c7fc9c4c65d662

doc/README.html

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.