Tip revision: cb5a4b81ca2578c53ecb592986de7abba33e3bb7 authored by Roberto Di Cosmo on 12 May 2014, 11:23:33 UTC Replaced multiple calls of finalize with Pervasives.at_exit; moved instances of init rigth after the fork
(* 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"