Implement priority donation helper function with propagation, w/ T

This commit is contained in:
sBubshait
2024-10-20 19:42:35 +01:00
parent f98e4bc81c
commit 343ac55d37
3 changed files with 23 additions and 1 deletions

View File

@@ -439,6 +439,12 @@ thread_get_recent_cpu (void)
return 0;
}
void
ready_list_reorder (void)
{
list_sort (&ready_list, priority_more, NULL);
}
/* Idle thread. Executes when no other thread is ready to run.
The idle thread is initially put on the ready list by