Revision b030c05d97e9d6905aea0c89c9e75a1ad65d9a3b authored by Roberto Di Cosmo on 20 September 2017, 11:39:59 UTC, committed by Roberto Di Cosmo on 28 November 2017, 08:36:40 UTC
1 parent 699ed2a
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