X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Ftest.c;h=ae9d16d8e2aba7a3491ba5ea617b85170990e6a8;hb=4ae5b813663cd56fcbe1f1f547c9d445e5dc6107;hp=4c7bfedd18f4e901c2d298e000cd357030de4985;hpb=7a48d9a0ac4176681da03e878061b0c59e5bade4;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. */