projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add -O to CFLAGS to try to catch uninitialized variable errors.
[pintos-anon]
/
src
/
tests
/
threads
/
alarm-simultaneous.c
diff --git
a/src/tests/threads/alarm-simultaneous.c
b/src/tests/threads/alarm-simultaneous.c
index 4ba3651f44cba4a3fca97bd6f7fe7915b286568f..844eea47f9cb2f4e3120fa68a60c54bb4c6c6c4e 100644
(file)
--- a/
src/tests/threads/alarm-simultaneous.c
+++ b/
src/tests/threads/alarm-simultaneous.c
@@
-37,7
+37,7
@@
test_sleep (int thread_cnt, int iterations)
int i;
/* This test does not work with the MLFQS. */
- ASSERT (!
enable
_mlfqs);
+ ASSERT (!
thread
_mlfqs);
msg ("Creating %d threads to sleep %d times each.", thread_cnt, iterations);
msg ("Each thread sleeps 10 ticks each time.");