diff --git a/src/threads/thread.h b/src/threads/thread.h index f36d7ac..3019926 100644 --- a/src/threads/thread.h +++ b/src/threads/thread.h @@ -93,6 +93,10 @@ struct thread /* Shared between thread.c and synch.c. */ struct list_elem elem; /* List element. */ + /* MLFQS items */ + int nice; /* Nice value for this thread */ + int32_t recent_cpu; /* Amount of time this process received */ + #ifdef USERPROG /* Owned by userprog/process.c. */ uint32_t *pagedir; /* Page directory. */