implement thread_get_nice
This commit is contained in:
@@ -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. */
|
||||||
|
|||||||
Reference in New Issue
Block a user