about summary refs log tree commit diff
path: root/src/thread/pthread_spin_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_spin_init.c')
-rw-r--r--src/thread/pthread_spin_init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread/pthread_spin_init.c b/src/thread/pthread_spin_init.c
new file mode 100644
index 00000000..681881cf
--- /dev/null
+++ b/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;
+}