Implement priority donation helper function with propagation, w/ T
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user