X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fthreads%2Fpriority-change.c;h=735920ffe49fa309b5088aa9290bf4ed4aee2b6c;hb=0fbebef6a26f59aea618b9b89c4d30fac0bd1a40;hp=456de33a27217c4e5647bb2b1329635ee836ad8c;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;p=pintos-anon diff --git a/src/tests/threads/priority-change.c b/src/tests/threads/priority-change.c index 456de33..735920f 100644 --- a/src/tests/threads/priority-change.c +++ b/src/tests/threads/priority-change.c @@ -1,3 +1,7 @@ +/* Verifies that lowering a thread's priority so that it is no + longer the highest-priority thread in the system causes it to + yield immediately. */ + #include #include "tests/threads/tests.h" #include "threads/init.h"