docs: remove deprecated comments
This commit is contained in:
parent
b7a8aa4977
commit
37f76b02f6
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user