]> Kevux Git Server - fll/commitdiff
Cleanup: Remove stale comment regarding sleep interrupts.
authorKevin Day <thekevinday@gmail.com>
Sun, 31 Oct 2021 13:08:14 +0000 (08:08 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 31 Oct 2021 13:08:14 +0000 (08:08 -0500)
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.

level_3/controller/c/private-thread.c

index 71bc19f233058836ac2eee0bc04c695a72e8415b..8750a09804471513863c1d432c85a918b8acaeea 100644 (file)
@@ -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);