Ignore thread_set_priority when BSD enabled
This commit is contained in:
@@ -382,6 +382,8 @@ thread_foreach (thread_action_func *func, void *aux)
|
||||
void
|
||||
thread_set_priority (int new_priority)
|
||||
{
|
||||
if (thread_mlfqs)
|
||||
return;
|
||||
thread_current ()->priority = new_priority;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user