projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
some extra legacy header stuff
[musl]
/
src
/
thread
/
pthread_spin_unlock.c
diff --git
a/src/thread/pthread_spin_unlock.c
b/src/thread/pthread_spin_unlock.c
index
a7eab33
..
724d9e0
100644
(file)
--- a/
src/thread/pthread_spin_unlock.c
+++ b/
src/thread/pthread_spin_unlock.c
@@
-2,5
+2,6
@@
int pthread_spin_unlock(pthread_spinlock_t *s)
{
- return *s = 0;
+ a_store(s, 0);
+ return 0;
}