swh:1:snp:2d869aa00591d2ac8ec8e7abacdda563d413189d
Raw File
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
Tip revision: e171ef7
setcore.mli
(* 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