implement thread_get_nice

This commit is contained in:
EDiasAlberto
2024-10-15 19:21:15 +01:00
parent 3e379acd5e
commit ab66551c06

View File

@@ -375,8 +375,7 @@ thread_set_nice (int nice UNUSED)
int int
thread_get_nice (void) thread_get_nice (void)
{ {
/* Not yet implemented. */ return thread_current ()->nice;
return 0;
} }
/* Returns 100 times the system load average. */ /* Returns 100 times the system load average. */