mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-31 15:01:09 +00:00
Update.
2000-12-18 Jes Sorensen <jes@linuxcare.com> * linuxthreads/sysdeps/ia64/pt-machine.h: __compare_and_swap and compare_and_swap_with_release_semantics returns int not long.
This commit is contained in:
parent
9b4b880b41
commit
ba908190d7
@ -1,3 +1,8 @@
|
||||
2000-12-18 Jes Sorensen <jes@linuxcare.com>
|
||||
|
||||
* linuxthreads/sysdeps/ia64/pt-machine.h: __compare_and_swap
|
||||
and compare_and_swap_with_release_semantics returns int not long.
|
||||
|
||||
2000-12-17 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/s390/pt-machine.h (testandset): Use long int as return
|
||||
|
@ -58,7 +58,7 @@ register struct _pthread_descr_struct *__thread_self __asm__("r13");
|
||||
|
||||
#define HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS
|
||||
|
||||
PT_EI long int
|
||||
PT_EI int
|
||||
__compare_and_swap (long int *p, long int oldval, long int newval)
|
||||
{
|
||||
long int readval;
|
||||
@ -72,7 +72,7 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
|
||||
return readval == oldval;
|
||||
}
|
||||
|
||||
PT_EI long int
|
||||
PT_EI int
|
||||
__compare_and_swap_with_release_semantics (long int *p,
|
||||
long int oldval,
|
||||
long int newval)
|
||||
|
Loading…
Reference in New Issue
Block a user