From 0f7cbfdfb731e57cfba182a2178154b541a8bd7f Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Tue, 13 Oct 2009 10:25:58 +0200 Subject: [PATCH] src/lsp/top.lsp: in multithreaded ECL, when interrupting a process via Ctrl-C, and then using the interrupt-process restart, the interrupted thread did not set up a continue restart. --- src/CHANGELOG | 3 +++ src/lsp/top.lsp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CHANGELOG b/src/CHANGELOG index b86fce600..92e5e6a15 100755 --- a/src/CHANGELOG +++ b/src/CHANGELOG @@ -12,6 +12,9 @@ ECL 9.10.3: deactivating the foreign function interface when the compiler does not support inline assembly with the GCC syntax and libffi is not available. + - In a multithreaded ECL, when handling a Ctr-C/SIGINT asynchronous interrupt, + there was not always a CONTINUE restart available. + ECL 9.10.2: =========== diff --git a/src/lsp/top.lsp b/src/lsp/top.lsp index 97cf7fcad..211394474 100644 --- a/src/lsp/top.lsp +++ b/src/lsp/top.lsp @@ -544,7 +544,7 @@ Use special code 0 to cancel this operation.") do (mp:process-resume process)) (when break-process (mp:interrupt-process break-process - #'simple-terminal-interrupt)))) + #'single-threaded-terminal-interrupt)))) #-threads (single-threaded-terminal-interrupt))