fix mt-mapperd pithos read bug. plus some minor fixes
[archipelago] / xseg / xtypes / xlock.h
index e607368..8b14302 100644 (file)
@@ -33,6 +33,7 @@ static inline unsigned long xlock_try_lock(struct xlock *lock, unsigned long who
 
 static inline void xlock_release(struct xlock *lock)
 {
 
 static inline void xlock_release(struct xlock *lock)
 {
+       BARRIER();
        lock->owner = Noone;
 }
 
        lock->owner = Noone;
 }