summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-11-20 22:01:03 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-11-20 22:01:03 +0100
commit39a3718b4e5f9c3d2977dc89a8792fd8b6b8e572 (patch)
tree14b757ad1537d20c1d2cc335f473d86e7a1f38ff
parent85b5ecef376e901f8912196a17e79e390a0ba3a1 (diff)
exec: TODO note about implementing interrupt
-rw-r--r--exec/exec.c4
1 files changed, 4 insertions, 0 deletions
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;