* sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_SPIN_LOCKS):
	Defined.
	* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
This commit is contained in:
Ulrich Drepper 2000-04-13 05:59:06 +00:00
parent d8d914df68
commit 07d641eba6
3 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2000-04-12 Ulrich Drepper <drepper@redhat.com> 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, * sysdeps/pthread/pthread.h: Add prototypes for pthread_spin_init,
pthread_spin_destroy, pthread_spin_lock, pthread_spin_trylock, pthread_spin_destroy, pthread_spin_lock, pthread_spin_trylock,
and pthread_spin_unlock. and pthread_spin_unlock.

View File

@ -122,4 +122,7 @@
/* We support the Timeouts option. */ /* We support the Timeouts option. */
#define _POSIX_TIMEOUTS 200912L #define _POSIX_TIMEOUTS 200912L
/* We support spinlocks. */
#define _POSIX_SPIN_LOCKS 200912L
#endif /* posix_opt.h */ #endif /* posix_opt.h */

View File

@ -131,4 +131,7 @@
/* We support the Timeouts option. */ /* We support the Timeouts option. */
#define _POSIX_TIMEOUTS 200912L #define _POSIX_TIMEOUTS 200912L
/* We support spinlocks. */
#define _POSIX_SPIN_LOCKS 200912L
#endif /* posix_opt.h */ #endif /* posix_opt.h */