use count=0 instead of 1 for recursive mutex with only one lock reference
[musl] / src / thread / pthread_spin_init.c
1 #include "pthread_impl.h"
2
3 int pthread_spin_init(pthread_spinlock_t *s, int shared)
4 {
5         return *s = 0;
6 }