X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Ftests%2Fthreads%2Fmlfqs-block.c;h=6d4992da31866946e9d39e427f613d376616dc14;hb=e8fe9231ac87ff242138f08d0afa217f2f76bf76;hp=93ed5ec3bc7427cc21121121f59eb9f44d115c93;hpb=4b9c6406e80d1fe9e5aa236e0d34dadbc4703307;p=pintos-anon diff --git a/src/tests/threads/mlfqs-block.c b/src/tests/threads/mlfqs-block.c index 93ed5ec..6d4992d 100644 --- a/src/tests/threads/mlfqs-block.c +++ b/src/tests/threads/mlfqs-block.c @@ -7,7 +7,7 @@ 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 #include "tests/threads/tests.h" @@ -25,7 +25,7 @@ test_mlfqs_block (void) int64_t start_time; struct lock lock; - ASSERT (enable_mlfqs); + ASSERT (thread_mlfqs); msg ("Main thread acquiring lock."); lock_init (&lock);