equal
deleted
inserted
replaced
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 = |