scheduling/next_task: PrintMode.closure;
authorwenzelm
Thu, 20 Dec 2007 21:12:03 +0100
changeset 25736 68834086f910
parent 25735 4d147263f71f
child 25737 84c92fc48e36
scheduling/next_task: PrintMode.closure;
src/Pure/Thy/thy_info.ML
--- a/src/Pure/Thy/thy_info.ML	Thu Dec 20 21:12:02 2007 +0100
+++ b/src/Pure/Thy/thy_info.ML	Thu Dec 20 21:12:03 2007 +0100
@@ -365,7 +365,8 @@
       (case fold max_task tasks NONE of
         NONE => (Multithreading.Wait, G)
       | SOME (name, (body, _)) =>
-         (Multithreading.Task {body = body, cont = Graph.del_nodes [name], fail = K Graph.empty},
+         (Multithreading.Task {body = PrintMode.closure body,
+           cont = Graph.del_nodes [name], fail = K Graph.empty},
           Graph.map_node name (K Running) G))
   end;