summaryrefslogtreecommitdiff
path: root/include/pthread/pthread.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-08-03 18:56:49 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2008-08-03 18:56:49 +0000
commit334b9a33a8adcddaf144e8285367c6753b7ab7ec (patch)
tree7305a085a080bb96f06bfed3b4c69c72842d1f40 /include/pthread/pthread.h
parent3bcc540d4c6c59dbfa5958d1b59942f8b610bf5e (diff)
* Makefile (sysdeps_headers): Add spin-lock-inline.h.
(SYSDEP_PATH): Move sysdeps/i386 right after sysdeps/$(MICROKERNEL)/i386. * include/pthread/pthread.h: Include <bits/spin-lock-inline.h>. * sysdeps/i386/bits/spin-lock.h: Move inlines to... * sysdeps/i386/bits/spin-lock-inline.h: ... new file. * sysdeps/mach/bits/spin-lock.h: Move inlines to... * sysdeps/mach/bits/spin-lock-inline.h: ... new file.
Diffstat (limited to 'include/pthread/pthread.h')
-rw-r--r--include/pthread/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h
index ba9c7dc..76733e0 100644
--- a/include/pthread/pthread.h
+++ b/include/pthread/pthread.h
@@ -423,6 +423,8 @@ extern int pthread_spin_unlock (pthread_spinlock_t *__lock);
# ifdef __USE_EXTERN_INLINES
+# include <bits/spin-lock-inline.h>
+
__extern_inline int
pthread_spin_destroy (pthread_spinlock_t *__lock)
{