BSD Scheduler implementation #9

Merged
gk1623 merged 12 commits from BSD-merged into master 2024-10-23 16:34:40 +00:00
5 changed files with 220 additions and 282 deletions
Showing only changes of commit cbb9d52455 - Show all commits

View File

@@ -651,7 +651,8 @@ thread_priority_less (const struct list_elem *a, const struct list_elem *b,
return ta->priority > tb->priority;
}
/* ss's state must have been changed from
/* Schedules a new process. At entry, interrupts must be off and
the running process's state must have been changed from
running to some other state. This function finds another
thread to run and switches to it.