mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
Update.
* spinlock.h (__pthread_trylock): Use __compare_and_swap, not compare_and_swap.
This commit is contained in:
parent
247c88694b
commit
a48297fdf3
@ -1,5 +1,8 @@
|
|||||||
2000-07-18 Ulrich Drepper <drepper@redhat.com>
|
2000-07-18 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* spinlock.h (__pthread_trylock): Use __compare_and_swap, not
|
||||||
|
compare_and_swap.
|
||||||
|
|
||||||
* pthread.c (pthread_initialize): Don't use syscond to determine
|
* pthread.c (pthread_initialize): Don't use syscond to determine
|
||||||
whether the machine has more than one processor.
|
whether the machine has more than one processor.
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ static inline int __pthread_trylock (struct _pthread_fastlock * lock)
|
|||||||
do {
|
do {
|
||||||
oldstatus = lock->__status;
|
oldstatus = lock->__status;
|
||||||
if (oldstatus != 0) return EBUSY;
|
if (oldstatus != 0) return EBUSY;
|
||||||
} while(! compare_and_swap(&lock->__status, 0, 1, &lock->__spinlock));
|
} while(! __compare_and_swap(&lock->__status, 0, 1));
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-07-18 Ulrich Drepper <drepper@redhat.com>
|
2000-07-18 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* charmaps/GB18030: New file.
|
||||||
|
|
||||||
|
* charmaps/UTF-8: Update for Unicode 3.0.
|
||||||
|
|
||||||
* tst-ctype-de_DE.ISO-8859-1.in: Mark U0000 as cntrl and U00A0 not as
|
* tst-ctype-de_DE.ISO-8859-1.in: Mark U0000 as cntrl and U00A0 not as
|
||||||
space.
|
space.
|
||||||
* tst-ctype.c: Likewise.
|
* tst-ctype.c: Likewise.
|
||||||
|
10579
localedata/charmaps/GB18030
Normal file
10579
localedata/charmaps/GB18030
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user