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