diff options
Diffstat (limited to 'libc-top-half/musl/src/thread/pthread_spin_init.c')
-rw-r--r-- | libc-top-half/musl/src/thread/pthread_spin_init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/thread/pthread_spin_init.c b/libc-top-half/musl/src/thread/pthread_spin_init.c new file mode 100644 index 0000000..681881c --- /dev/null +++ b/libc-top-half/musl/src/thread/pthread_spin_init.c @@ -0,0 +1,6 @@ +#include "pthread_impl.h" + +int pthread_spin_init(pthread_spinlock_t *s, int shared) +{ + return *s = 0; +} |