--- a/src/Pure/System/build.ML Sat Aug 04 17:06:55 2012 +0200
+++ b/src/Pure/System/build.ML Sat Aug 04 17:26:30 2012 +0200
@@ -76,7 +76,12 @@
(Options.string options "document_dump",
Present.dump_mode (Options.string options "document_dump_mode"))
"" verbose;
- val _ = Session.with_timing name verbose (List.app use_theories) theories;
+ val _ =
+ theories |>
+ (List.app use_theories
+ |> Session.with_timing name verbose
+ |> Unsynchronized.setmp Multithreading.max_threads (Options.int options "threads"));
+
val _ = Session.finish ();
val _ = if do_output then () else quit ();
in () end) ()) ()