equal
deleted
inserted
replaced
180 let |
180 let |
181 val res = |
181 val res = |
182 if ok then |
182 if ok then |
183 Exn.capture (fn () => |
183 Exn.capture (fn () => |
184 Multithreading.with_attributes Multithreading.private_interrupts |
184 Multithreading.with_attributes Multithreading.private_interrupts |
185 (fn _ => Position.setmp_thread_data pos e ())) () |
185 (fn _ => |
|
186 Position.setmp_thread_data pos e () before Multithreading.interrupted ())) () |
186 else Exn.interrupt_exn; |
187 else Exn.interrupt_exn; |
187 in assign_result group result res end; |
188 in assign_result group result res end; |
188 in (result, job) end; |
189 in (result, job) end; |
189 |
190 |
190 fun cancel_now group = (*requires SYNCHRONIZED*) |
191 fun cancel_now group = (*requires SYNCHRONIZED*) |