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)
commit6d19139b337fcb7c9b31e5b6724e6ae19499e4c5
tree8b76529b04a327c7ed8926fa9e436ef5cb54b0c9
parent0b55933faeb90e4953f33a7e382c6f475d9befd7
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