Picos_domain
Minimalistic domain API available both on OCaml 5 and on OCaml 4.
ℹ️ On OCaml 4 there is always only a single domain.
at_exit action
registers action
to be called when the current domain exits.
On OCaml 5 this calls Domain.at_exit
. On OCaml 4 this calls Stdlib.at_exit
.
recommended_domain_count ()
returns 1
on OCaml 4 and calls Domain.recommended_domain_count
on OCaml 5.
is_main_domain ()
returns true
on OCaml 4 and calls Domain.is_main_domain
on OCaml 5.
module DLS : sig ... end
Domain-local storage for Picos.