Compiler memory barriers and pthread barrier fix
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 3 May 2010 00:32:11 +0000 (17:32 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:47 +0000 (17:35 -0700)
commitbc23ef3fdbd14461dd6b4555b3c06febab75e7cc
tree90a1e362dc7d5e5c206f4eac44275ec36cbd3273
parentec2d36521917f6b6b9c896db2db5e1778a310f3d
Compiler memory barriers and pthread barrier fix

Also touches up some loose ends in kernel synch.  The pthread bearier
works on the core i7's, etc.
kern/arch/i686/atomic.h
kern/arch/i686/ros/membar.h
kern/arch/sparc/ros/membar.h
kern/include/atomic.h
kern/src/Makefrag
kern/src/atomic.c
kern/src/kfs.c
user/include/pthread.h
user/parlib/pthread.c