projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve.
[pintos-anon]
/
grading
/
threads
/
priority-donate-nest.c
diff --git
a/grading/threads/priority-donate-nest.c
b/grading/threads/priority-donate-nest.c
index d391233dc0c3b58cc8689752734beeaed2d2a603..1d145f393f720a0dd593378814ebc17dafa20979 100644
(file)
--- a/
grading/threads/priority-donate-nest.c
+++ b/
grading/threads/priority-donate-nest.c
@@
-78,7
+78,7
@@
medium_thread_func (void *locks_)
lock_acquire (locks->b);
lock_acquire (locks->a);
lock_acquire (locks->b);
lock_acquire (locks->a);
- printf (" 3. Medium thread should have priority %d. Actual priority: %d\n",
+ printf (" 3. Medium thread should have priority %d. Actual priority: %d
.
\n",
PRI_DEFAULT + 2, thread_get_priority ());
printf (" 4. Medium thread got the lock.\n");
PRI_DEFAULT + 2, thread_get_priority ());
printf (" 4. Medium thread got the lock.\n");