Tip revision: e171ef7b6d67b17e9041dd723443422f1883eeb2 authored by Roberto Di Cosmo on 10 May 2014, 13:56:47 UTC Call init and finalize in the workers and in the finish function of setup_chan
(* 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"