X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fthreads%2Fmlfqs-block.c;h=6d4992da31866946e9d39e427f613d376616dc14;hb=d4c30c6a386fe850e7eed1025e459fbc82a0b6e2;hp=93ed5ec3bc7427cc21121121f59eb9f44d115c93;hpb=606adbdcd2294fa780081cf2c88ff949d7cca152;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);