From 07d641eba62594c93ea37d12b1d18fc3c5b64b6d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 13 Apr 2000 05:59:06 +0000 Subject: [PATCH] Update. * sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_SPIN_LOCKS): Defined. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise. --- linuxthreads/ChangeLog | 4 ++++ linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h | 3 +++ linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h | 3 +++ 3 files changed, 10 insertions(+) diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 0bd8a4a..e129e8c 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,5 +1,9 @@ 2000-04-12 Ulrich Drepper + * 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 d5f9e3f..a3cc2c0 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 22c5a5b..5e0098d 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 */ -- 2.7.4