Fix two bugs in the base Pintos code:
[pintos-anon] / src / tests / threads / alarm-simultaneous.c
index 4ba3651f44cba4a3fca97bd6f7fe7915b286568f..844eea47f9cb2f4e3120fa68a60c54bb4c6c6c4e 100644 (file)
@@ -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.");