mirror of
https://github.com/fluencelabs/musl
synced 2025-06-26 13:12:03 +00:00
prepare pthread_spin_unlock for archs that need memory barriers
This commit is contained in:
@ -2,5 +2,6 @@
|
||||
|
||||
int pthread_spin_unlock(pthread_spinlock_t *s)
|
||||
{
|
||||
return *s = 0;
|
||||
a_store(s, 0);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user