equal
deleted
inserted
replaced
316 exec_id :: map (fn Print {exec_id, ...} => exec_id) prints; |
316 exec_id :: map (fn Print {exec_id, ...} => exec_id) prints; |
317 |
317 |
318 local |
318 local |
319 |
319 |
320 fun run_print execution_id (Print {name, delay, pri, print_process, ...}) = |
320 fun run_print execution_id (Print {name, delay, pri, print_process, ...}) = |
321 if Multithreading.enabled () then |
321 if Multithreading.enabled () orelse pri <= 0 then |
322 let |
322 let |
323 val group = Future.worker_subgroup (); |
323 val group = Future.worker_subgroup (); |
324 fun fork () = |
324 fun fork () = |
325 memo_fork {name = name, group = SOME group, deps = [], pri = pri, interrupts = true} |
325 memo_fork {name = name, group = SOME group, deps = [], pri = pri, interrupts = true} |
326 execution_id print_process; |
326 execution_id print_process; |