Update releasing of locks to update donation information w/ S

This commit is contained in:
Themis Demetriades
2024-10-20 20:17:27 +01:00
parent ee0cf632b9
commit 8e20884a23
3 changed files with 20 additions and 0 deletions

View File

@@ -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)