From: Kevin Day Date: Sun, 31 Oct 2021 13:08:14 +0000 (-0500) Subject: Cleanup: Remove stale comment regarding sleep interrupts. X-Git-Tag: 0.5.7~98 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=9126de18b29ee653430823cd6ab2197bdcd42aca;p=fll Cleanup: Remove stale comment regarding sleep interrupts. I updated this in the previous commit and completely failed to notice that its message is no longer correct. The commit ad4a95d1b8a26e271d491320b627dbdea443a13c actually makes it possible for the sleep functions to receive the interrupts. --- diff --git a/level_3/controller/c/private-thread.c b/level_3/controller/c/private-thread.c index 71bc19f..8750a09 100644 --- a/level_3/controller/c/private-thread.c +++ b/level_3/controller/c/private-thread.c @@ -431,7 +431,6 @@ extern "C" { f_array_length_t j = 0; pid_t pid = 0; - // The sleep functions that are run inside the cleanup function must be interrupted via the f_thread_cancel(). if (global->thread->id_cleanup) { f_thread_cancel(global->thread->id_cleanup); f_thread_join(global->thread->id_cleanup, 0);