docs: remove deprecated comments

This commit is contained in:
Alessandre Laguierce 2025-04-08 22:17:11 +02:00
parent b7a8aa4977
commit 37f76b02f6

View File

@ -104,13 +104,6 @@ int thread_yield(void)
} }
#endif #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); struct context_entry_t* first = TAILQ_FIRST(&scheduler_fifo);
TAILQ_REMOVE(&scheduler_fifo, first, link); TAILQ_REMOVE(&scheduler_fifo, first, link);