Merge contributions from gleb-bsd to main merged repo #6

Merged
ed1223 merged 11 commits from gleb/BSD into BSD-merged 2024-10-17 15:55:24 +00:00
4 changed files with 93 additions and 23 deletions
Showing only changes of commit c767cfe159 - Show all commits

View File

@@ -382,6 +382,8 @@ thread_foreach (thread_action_func *func, void *aux)
void void
thread_set_priority (int new_priority) thread_set_priority (int new_priority)
{ {
if (thread_mlfqs)
return;
thread_current ()->priority = new_priority; thread_current ()->priority = new_priority;
} }