Revision 219e3d02005e3b407946cf763e0f8d2570cde809 authored by Roberto Di Cosmo on 11 May 2016, 14:34:13 UTC, committed by Roberto Di Cosmo on 11 May 2016, 14:42:56 UTC
We should find a more proper way of doing this.
1 parent 2abc50e
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