diff --git a/src/threads/thread.c b/src/threads/thread.c index 30ca2bd..82aa317 100644 --- a/src/threads/thread.c +++ b/src/threads/thread.c @@ -375,8 +375,7 @@ thread_set_nice (int nice UNUSED) int thread_get_nice (void) { - /* Not yet implemented. */ - return 0; + return thread_current ()->nice; } /* Returns 100 times the system load average. */