Revision b682d4b48aa8a7b8c9c849fb3ce1c991746e70d1 authored by Olaf Hering on 11 October 2019, 11:11:54 UTC, committed by Olaf Hering on 11 October 2019, 19:29:00 UTC
Signed-off-by: Olaf Hering <olaf@aepfle.de>
1 parent 73a7e5b
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