src/Pure/System/isabelle_system.ML
changeset 78787 a7e4b412cc7c
parent 78757 a094bf81a496
--- a/src/Pure/System/isabelle_system.ML	Tue Oct 17 11:52:52 2023 +0200
+++ b/src/Pure/System/isabelle_system.ML	Tue Oct 17 12:10:58 2023 +0200
@@ -68,7 +68,7 @@
               if head = Bash.server_uuid andalso length args = 1 then
                 loop (SOME (hd args)) s
               else if head = Bash.server_interrupt andalso null args then
-                Isabelle_Thread.interrupt_self ()
+                Isabelle_Thread.raise_interrupt ()
               else if head = Bash.server_failure andalso length args = 1 then
                 raise Fail (hd args)
               else if head = Bash.server_result andalso length args >= 4 then