projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Parse command-line options much earlier, so that thread_mlfqs is
[pintos-anon]
/
src
/
threads
/
thread.h
diff --git
a/src/threads/thread.h
b/src/threads/thread.h
index b45bdb8616f02b66c72a3c455215233de1b4f761..0039560018ddc942fb2f10002ddd4d94e3045b8c 100644
(file)
--- a/
src/threads/thread.h
+++ b/
src/threads/thread.h
@@
-103,9
+103,7
@@
struct thread
/* If false (default), use round-robin scheduler.
If true, use multi-level feedback queue scheduler.
/* If false (default), use round-robin scheduler.
If true, use multi-level feedback queue scheduler.
- Controlled by kernel command-line options "-o mlfqs".
- Note that the command line is not parsed until well after
- thread_init() is called. */
+ Controlled by kernel command-line option "-o mlfqs". */
extern bool thread_mlfqs;
void thread_init (void);
extern bool thread_mlfqs;
void thread_init (void);