mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
Get rid of __LT_SPINLOCK_INIT
We got rid of LinuxThreads in 2005, but we didn't remove __LT_SPINLOCK_INIT back then. Do it now. * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]: Remove.
This commit is contained in:
parent
9962a2d34e
commit
fcd89ebe4f
@ -1,3 +1,9 @@
|
||||
2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
|
||||
&& !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
|
||||
Remove.
|
||||
|
||||
2014-03-17 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* math/gen-libm-test.pl (parse_args): Handle results specified for
|
||||
|
@ -78,13 +78,8 @@ typedef pthread_key_t __libc_key_t;
|
||||
CLASS __libc_lock_t NAME = LLL_LOCK_INITIALIZER;
|
||||
# endif
|
||||
#else
|
||||
# if __LT_SPINLOCK_INIT == 0
|
||||
# define __libc_lock_define_initialized(CLASS,NAME) \
|
||||
# define __libc_lock_define_initialized(CLASS,NAME) \
|
||||
CLASS __libc_lock_t NAME;
|
||||
# else
|
||||
# define __libc_lock_define_initialized(CLASS,NAME) \
|
||||
CLASS __libc_lock_t NAME = PTHREAD_MUTEX_INITIALIZER;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define __libc_rwlock_define_initialized(CLASS,NAME) \
|
||||
|
Loading…
Reference in New Issue
Block a user