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.
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);