aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-13 05:59:06 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-13 05:59:06 +0000
commit07d641eba62594c93ea37d12b1d18fc3c5b64b6d (patch)
tree3d2bfc696a3286491df8983b60dda9c13015259e
parentd8d914df6806c6057b20c7311cad0bc2ac201c03 (diff)
downloadglibc-07d641eba62594c93ea37d12b1d18fc3c5b64b6d.tar
glibc-07d641eba62594c93ea37d12b1d18fc3c5b64b6d.tar.gz
glibc-07d641eba62594c93ea37d12b1d18fc3c5b64b6d.tar.bz2
glibc-07d641eba62594c93ea37d12b1d18fc3c5b64b6d.zip
Update.
* sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_SPIN_LOCKS): Defined. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h3
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h3
3 files changed, 10 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 0bd8a4a5cd..e129e8cbd5 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,9 @@
2000-04-12 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_SPIN_LOCKS):
+ Defined.
+ * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
+
* sysdeps/pthread/pthread.h: Add prototypes for pthread_spin_init,
pthread_spin_destroy, pthread_spin_lock, pthread_spin_trylock,
and pthread_spin_unlock.
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h b/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h
index d5f9e3f35c..a3cc2c0866 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h
+++ b/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h
@@ -122,4 +122,7 @@
/* We support the Timeouts option. */
#define _POSIX_TIMEOUTS 200912L
+/* We support spinlocks. */
+#define _POSIX_SPIN_LOCKS 200912L
+
#endif /* posix_opt.h */
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h b/linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
index 22c5a5b8ac..5e0098d946 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
+++ b/linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
@@ -131,4 +131,7 @@
/* We support the Timeouts option. */
#define _POSIX_TIMEOUTS 200912L
+/* We support spinlocks. */
+#define _POSIX_SPIN_LOCKS 200912L
+
#endif /* posix_opt.h */