From 37f76b02f6343cd63a303d57c3b490cf4b733157 Mon Sep 17 00:00:00 2001 From: Alessandre Laguierce Date: Tue, 8 Apr 2025 22:17:11 +0200 Subject: [PATCH] docs: remove deprecated comments --- src/thread/thread.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/thread/thread.c b/src/thread/thread.c index 1b1dde0..1ecdbf1 100644 --- a/src/thread/thread.c +++ b/src/thread/thread.c @@ -104,13 +104,6 @@ int thread_yield(void) } #endif - /* Current strategy : - * if we have checked the number of threads then keep the running one - * otherwise, take the first element of the list should not be null - * remove it from the head and put it at the end to take it in the next round - * check if the thread is not finished and is not waiting for a non finished thread - * check if the thread is not the running one. - */ struct context_entry_t* first = TAILQ_FIRST(&scheduler_fifo); TAILQ_REMOVE(&scheduler_fifo, first, link);