projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Irq 7 is special. It is not just the parallel port. It can also be a
[pintos-anon]
/
src
/
threads
/
synch.h
diff --git
a/src/threads/synch.h
b/src/threads/synch.h
index 53a5ee488cf07c83f68a7b136bc6506136180ac9..6b8f550e8798f6b9b916cf15ce8ec72861e283a8 100644
(file)
--- a/
src/threads/synch.h
+++ b/
src/threads/synch.h
@@
-41,10
+41,10
@@
void cond_wait (struct condition *, struct lock *);
void cond_signal (struct condition *, struct lock *);
void cond_broadcast (struct condition *, struct lock *);
void cond_signal (struct condition *, struct lock *);
void cond_broadcast (struct condition *, struct lock *);
-/*
Memory
barrier.
+/*
Optimization
barrier.
- The compiler will not reorder operations
that access memory
-
across a memory
barrier. */
+ The compiler will not reorder operations
across an
+
optimization
barrier. */
#define barrier() asm volatile ("")
#endif /* threads/synch.h */
#define barrier() asm volatile ("")
#endif /* threads/synch.h */