Reformat thread priority changing functions to follow style w/ S
This commit is contained in:
@@ -385,7 +385,6 @@ thread_set_priority (int new_base_priority)
|
|||||||
if (new_base_priority == old_base_priority)
|
if (new_base_priority == old_base_priority)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
t->base_priority = new_base_priority;
|
t->base_priority = new_base_priority;
|
||||||
t->priority = new_base_priority;
|
t->priority = new_base_priority;
|
||||||
|
|
||||||
@@ -413,7 +412,7 @@ thread_recalculate_priority (void)
|
|||||||
list_entry (list_max (&t->donors_list, priority_more, NULL),
|
list_entry (list_max (&t->donors_list, priority_more, NULL),
|
||||||
struct thread, donor_elem)->priority;
|
struct thread, donor_elem)->priority;
|
||||||
|
|
||||||
if(max_donated_priority > t->priority)
|
if (max_donated_priority > t->priority)
|
||||||
t->priority = max_donated_priority;
|
t->priority = max_donated_priority;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user