Merge 'task1/priority-donation' into 'master' #14

Merged
sb3923 merged 66 commits from task1/priority-donation into master 2024-10-23 16:15:45 +00:00
2 changed files with 15 additions and 0 deletions
Showing only changes of commit f1fa7d2ffb - Show all commits

View File

@@ -603,7 +603,7 @@ allocate_tid (void)
than that of the second list element's thread. */ than that of the second list element's thread. */
bool bool
thread_priority_greater (const struct list_elem *a, const struct list_elem *b, thread_priority_greater (const struct list_elem *a, const struct list_elem *b,
void *aux) void *aux)
{ {
struct thread *ta = list_entry (a, struct thread, elem); struct thread *ta = list_entry (a, struct thread, elem);
struct thread *tb = list_entry (b, struct thread, elem); struct thread *tb = list_entry (b, struct thread, elem);