projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update docs.
[pintos-anon]
/
src
/
threads
/
test.c
diff --git
a/src/threads/test.c
b/src/threads/test.c
index 4c7bfedd18f4e901c2d298e000cd357030de4985..ae9d16d8e2aba7a3491ba5ea617b85170990e6a8 100644
(file)
--- 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->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. */
}
/* Wait for all the threads to finish. */