Revision 2abc50e48079682560c95885792b9dc7da781644 authored by Roberto Di Cosmo on 30 April 2016, 16:17:45 UTC, committed by Roberto Di Cosmo on 30 April 2016, 16:17:45 UTC
1 parent ce28808
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