projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work on userprog tests.
[pintos-anon]
/
src
/
threads
/
synch.c
diff --git
a/src/threads/synch.c
b/src/threads/synch.c
index 85af57d63ac8c0f59f8b254c0d4db46f495d392b..a892454c8e9adf186c8189173d46c635b15e13e4 100644
(file)
--- a/
src/threads/synch.c
+++ b/
src/threads/synch.c
@@
-250,7
+250,7
@@
cond_init (struct condition *cond, const char *name)
}
/* Atomically releases LOCK and waits for COND to be signaled by
}
/* Atomically releases LOCK and waits for COND to be signaled by
- some other piece of code. After COND is signal
l
ed, LOCK is
+ some other piece of code. After COND is signaled, LOCK is
reacquired before returning. LOCK must be held before calling
this function.
reacquired before returning. LOCK must be held before calling
this function.
@@
-261,7
+261,7
@@
cond_init (struct condition *cond, const char *name)
again.
A given condition variable is associated with only a single
again.
A given condition variable is associated with only a single
- lock, but one lock may be
be
associated with any number of
+ lock, but one lock may be associated with any number of
condition variables. That is, there is a one-to-many mapping
from locks to condition variables.
condition variables. That is, there is a one-to-many mapping
from locks to condition variables.