program wrapper: controlled_execution ensures proper thread attributes (global default is unsafe due to InterruptAsynch;
--- a/src/Pure/Isar/toplevel.ML Thu Oct 02 17:18:36 2008 +0200
+++ b/src/Pure/Isar/toplevel.ML Thu Oct 02 19:38:48 2008 +0200
@@ -309,7 +309,7 @@
fun program f =
(f
- |> debugging
+ |> controlled_execution
|> toplevel_error) ();
end;