summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/thread/pthread_spin_init.c
blob: 681881cf369ce862613b88184062058f26f9f7b2 (plain)
1
2
3
4
5
6
#include "pthread_impl.h"

int pthread_spin_init(pthread_spinlock_t *s, int shared)
{
	return *s = 0;
}