X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Ftest.c;h=ae9d16d8e2aba7a3491ba5ea617b85170990e6a8;hb=63b811f31e550794fbbcaa75ea51b41023178f28;hp=4c7bfedd18f4e901c2d298e000cd357030de4985;hpb=5fa7a9e2a12522684b0fbaa7d06555544563f124;p=pintos-anon diff --git a/src/threads/test.c b/src/threads/test.c index 4c7bfed..ae9d16d 100644 --- a/src/threads/test.c +++ b/src/threads/test.c @@ -63,7 +63,7 @@ test_sleep (int iterations) t->product = &product; t->lock = &lock; sema_init (&t->done, 0, name); - t->tid = thread_create (name, sleeper, t); + t->tid = thread_create (name, PRI_DEFAULT, sleeper, t); } /* Wait for all the threads to finish. */