Revision d9bcb31921e68eba88e798a68fc366c88c688c36 authored by Roberto Di Cosmo on 23 January 2020, 15:24:02 UTC, committed by Roberto Di Cosmo on 23 January 2020, 15:24:02 UTC
1 parent 45a739c
Raw File
setcore.ml
(* uses the native affinity interface to
   declare that the current process should be
   attached to core number n *)

external numcores: unit -> int = "numcores"
external setcore: int -> unit = "setcore"
back to top