Skip to content

Commit 677aba4

Browse files
committed
Disable g_yield_t for now since it seems to slow the system down
1 parent 1045ec9 commit 677aba4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel/src/kernel/tasking/scheduler/scheduler_round_robin.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ g_schedule_entry* schedulerGetNextTask(g_tasking_local* local)
5151
}
5252

5353
// Check if there is a global "preferred task" to do next
54-
if(preferredTask != G_TID_NONE)
54+
// TODO The current yield is not "fair" and makes the system slower
55+
if(false && preferredTask != G_TID_NONE)
5556
{
5657
while(entry)
5758
{

0 commit comments

Comments
 (0)