Closed
Description
Task.setup_pool
takes the number of additional domains as the argument and sets up the pool. See for example
https://github.com/ocaml-multicore/domainslib/blob/master/test/game_of_life_multicore.ml#L65
I found this a little unintuitive as num_domains
seems to suggest that the pool would contain num_domains
domains. For example, a pool with 2 domains is created with
T.setup_pool ~num_domains:1
Should we change the semantics such that num_domains
actually refers to the number of domains in the pool, and not the number of additional domains?
Metadata
Metadata
Assignees
Labels
No labels