Add "memory" as clobber to the asm used by barrier().
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 10 Nov 2006 15:51:03 +0000 (15:51 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 10 Nov 2006 15:51:03 +0000 (15:51 +0000)
commit2238c96ecda3b083eafbfcc3c2d8ebf2ade79d50
treee22c2fc3088567611e2fea3e0ec5acebbfe379bb
parentceaae60800c31edc121fed6710976bcb4e1cf5d9
Add "memory" as clobber to the asm used by barrier().
Otherwise at least some versions of GCC assume that no changes to
memory can take place.
src/threads/synch.h