work around "signal loses thread pointer" issue with "approach 2"
[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 }