mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
1998-06-26 Ulrich Drepper <drepper@cygnus.com> * spinlock.c: Correct test whether to compile __pthread_compare_and_swap or not.
This commit is contained in:
parent
0ca7e46e16
commit
e138a80033
4
libc.map
4
libc.map
@ -20,6 +20,10 @@ GLIBC_2.0 {
|
|||||||
# This is for sparc only.
|
# This is for sparc only.
|
||||||
.div; .mul; .rem; .udiv; .umul; .urem;
|
.div; .mul; .rem; .udiv; .umul; .urem;
|
||||||
|
|
||||||
|
# For alpha, unfortunately in wider use.
|
||||||
|
_inb; _inw; _inl; _outb; _outw; _outl; _bus_base; _bus_base_sparse;
|
||||||
|
_hae_shift;
|
||||||
|
|
||||||
# helper functions
|
# helper functions
|
||||||
__errno_location; __libc_init_first; __h_errno_location; __libc_start_main;
|
__errno_location; __libc_init_first; __h_errno_location; __libc_start_main;
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
1998-06-26 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* spinlock.c: Correct test whether to compile
|
||||||
|
__pthread_compare_and_swap or not.
|
||||||
|
|
||||||
1998-06-25 19:27 Ulrich Drepper <drepper@cygnus.com>
|
1998-06-25 19:27 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* attr.c: Finish user stack support. Change locking code to be safe
|
* attr.c: Finish user stack support. Change locking code to be safe
|
||||||
|
@ -116,7 +116,7 @@ again:
|
|||||||
int __pthread_has_cas = 0;
|
int __pthread_has_cas = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAS_COMPARE_AND_SWAP
|
#if !defined HAS_COMPARE_AND_SWAP || defined TEST_FOR_COMPARE_AND_SWAP
|
||||||
|
|
||||||
static void __pthread_acquire(int * spinlock);
|
static void __pthread_acquire(int * spinlock);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user