src/Pure/ML-Systems/use_context.ML
author wenzelm
Tue, 21 Jul 2009 11:30:12 +0200
changeset 32095 ad4be204fdfe
parent 30672 beaadd5af500
permissions -rw-r--r--
tuned tracing; provide spare worker threads to saturate hardware while other workers wait during join;

(*  Title:      Pure/ML-Systems/use_context.ML
    Author:     Makarius

Common context for "use" operations (compiler invocation).
*)

type use_context =
 {tune_source: string -> string,
  name_space: ML_Name_Space.T,
  str_of_pos: int -> string -> string,
  print: string -> unit,
  error: string -> unit};