From 39a3718b4e5f9c3d2977dc89a8792fd8b6b8e572 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 20 Nov 2023 22:01:03 +0100 Subject: exec: TODO note about implementing interrupt --- exec/exec.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'exec/exec.c') diff --git a/exec/exec.c b/exec/exec.c index 24d71220..639564cb 100644 --- a/exec/exec.c +++ b/exec/exec.c @@ -1197,6 +1197,10 @@ do_exec (file_t file, /* We are now committed to the exec. It "should not fail". If it does fail now, the task will be hopelessly munged. */ + /* TODO: implement the interrupt RPC and properly avoid interrupts + from here on, so we can avoid disabling signals in exec*() and + spawn*(). */ + if (newtask == oldtask) { thread_t *threads; -- cgit v1.2.3