projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add explanatory comments to threads tests.
[pintos-anon]
/
src
/
tests
/
threads
/
priority-condvar.c
diff --git
a/src/tests/threads/priority-condvar.c
b/src/tests/threads/priority-condvar.c
index 0d34380ca7739772df3f22a6710f91076ab59ff6..51008abdb71d9e61f34a8757c477fe59d7d1981a 100644
(file)
--- a/
src/tests/threads/priority-condvar.c
+++ b/
src/tests/threads/priority-condvar.c
@@
-1,3
+1,6
@@
+/* Tests that cond_signal() wakes up the highest-priority thread
+ waiting in cond_wait(). */
+
#include <stdio.h>
#include "tests/threads/tests.h"
#include "threads/init.h"