Update releasing of locks to update donation information w/ S
This commit is contained in:
@@ -408,6 +408,13 @@ thread_get_priority (void)
|
||||
return thread_current ()->priority;
|
||||
}
|
||||
|
||||
/* Recalculates the effective priority of the current thread. */
|
||||
void
|
||||
thread_recalculate_priority (void)
|
||||
{
|
||||
barrier ();
|
||||
};
|
||||
|
||||
/* Sets the current thread's nice value to NICE. */
|
||||
void
|
||||
thread_set_nice (int nice UNUSED)
|
||||
|
||||
Reference in New Issue
Block a user