prepare pthread_spin_unlock for archs that need memory barriers

This commit is contained in:
Rich Felker committed 2011-03-24 23:06:48 -04:00
1 parent b8b85a4272
commit d8dc2faf10
1 file changed
+2 -1
+2 -1
View File
@@ -2,5 +2,6 @@
int pthread_spin_unlock(pthread_spinlock_t *s)
{
return *s = 0;
a_store(s, 0);
return 0;
}