seconds (until the main thread releases it). If recent_cpu
decays properly while the "block" thread sleeps, then the
block thread should be immediately scheduled when the main
- thread releases the lock,. */
+ thread releases the lock. */
#include <stdio.h>
#include "tests/threads/tests.h"
int64_t start_time;
struct lock lock;
- ASSERT (enable_mlfqs);
+ ASSERT (thread_mlfqs);
msg ("Main thread acquiring lock.");
lock_init (&lock);