moonpool/src/util_pool_.mli
Simon Cruanes 133a0d6128 breaking: change interface for number of threads
now the user can specify `num_threads`; if not provided a sensible
default is picked.
2023-11-08 09:41:57 -05:00

5 lines
175 B
OCaml

(** Utils for pools *)
val num_threads : ?num_threads:int -> unit -> int
(** Number of threads a pool should have.
@param num_threads user-specified number of threads *)