Ignore thread_set_priority when BSD enabled

This commit is contained in:
2024-10-16 22:58:03 +01:00
parent eacd93b32d
commit c767cfe159

View File

@@ -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;
}