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 filesys tests.
[pintos-anon]
/
src
/
tests
/
threads
/
priority-sema.c
diff --git
a/src/tests/threads/priority-sema.c
b/src/tests/threads/priority-sema.c
index 743b05aecd4907140054f83f60dbd520ca467e16..8ca17a0aa9c3991f0b7b14b38e4b9f60051067e7 100644
(file)
--- a/
src/tests/threads/priority-sema.c
+++ b/
src/tests/threads/priority-sema.c
@@
-1,3
+1,6
@@
+/* Tests that the highest-priority thread waiting on a semaphore
+ is the first to wake up. */
+
#include <stdio.h>
#include "tests/threads/tests.h"
#include "threads/init.h"