X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fsynch.h;h=a19e88b181dff1208839ff890154aa69b299ce91;hb=19becec31c5704572a3575336c57364d72fd572b;hp=9e464e3876400f60fafbc44a105f859ffd4b6938;hpb=6d19139b337fcb7c9b31e5b6724e6ae19499e4c5;p=pintos-anon diff --git a/src/threads/synch.h b/src/threads/synch.h index 9e464e3..a19e88b 100644 --- a/src/threads/synch.h +++ b/src/threads/synch.h @@ -44,7 +44,8 @@ void cond_broadcast (struct condition *, struct lock *); /* Optimization barrier. The compiler will not reorder operations across an - optimization barrier. */ + optimization barrier. See "Optimization Barriers" in the + reference guide for more information.*/ #define barrier() asm volatile ("" : : : "memory") #endif /* threads/synch.h */