src/Pure/Thy/thy_info.ML
changeset 66370 de9c6560c221
parent 66368 26735fab7a8f
child 66371 6ce1afc01040
equal deleted inserted replaced
66369:d003b44674c1 66370:de9c6560c221
   153 fun result_ord (Result {weight = i, ...}, Result {weight = j, ...}) = int_ord (j, i);
   153 fun result_ord (Result {weight = i, ...}, Result {weight = j, ...}) = int_ord (j, i);
   154 
   154 
   155 fun join_theory (Result {theory, exec_id, ...}) =
   155 fun join_theory (Result {theory, exec_id, ...}) =
   156   let
   156   let
   157     (*toplevel proofs and diags*)
   157     (*toplevel proofs and diags*)
   158     val _ = Future.join_tasks (maps Future.group_snapshot (Execution.peek exec_id));
   158     val _ = Future.join_tasks (Execution.snapshot [exec_id]);
   159     (*fully nested proofs*)
   159     (*fully nested proofs*)
   160     val res = Exn.capture Thm.consolidate_theory theory;
   160     val res = Exn.capture Thm.consolidate_theory theory;
   161   in res :: map Exn.Exn (maps Task_Queue.group_status (Execution.peek exec_id)) end;
   161   in res :: map Exn.Exn (maps Task_Queue.group_status (Execution.peek exec_id)) end;
   162 
   162 
   163 datatype task =
   163 datatype task =