X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fthreads%2Fpriority-preempt.c;h=70f8acbee8ee67bd14349f73106a10dfbb031565;hb=c7ceee91c04fa72da655c00cb82302537ff6c9eb;hp=452c6807c25c524d2d1d4de02b29b622baaac4b9;hpb=71b4d5a453498d45ae5929b51247a487c0e3719d;p=pintos-anon diff --git a/src/tests/threads/priority-preempt.c b/src/tests/threads/priority-preempt.c index 452c680..70f8acb 100644 --- a/src/tests/threads/priority-preempt.c +++ b/src/tests/threads/priority-preempt.c @@ -23,7 +23,7 @@ test_priority_preempt (void) /* Make sure our priority is the default. */ ASSERT (thread_get_priority () == PRI_DEFAULT); - thread_create ("high-priority", PRI_DEFAULT - 1, simple_thread_func, NULL); + thread_create ("high-priority", PRI_DEFAULT + 1, simple_thread_func, NULL); msg ("The high-priority thread should have already completed."); }