aboutsummaryrefslogtreecommitdiff
path: root/include/atomic.h
AgeCommit message (Collapse)AuthorFilesLines
2003-03-212003-03-21 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+1
* include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.
2003-03-21Define atomic_compare_and_exchange_val_acq, ↵Ulrich Drepper1-25/+63
atomic_compare_and_exchange_val_rel, atomic_compare_and_exchange_bool_acq, and atomic_compare_and_exchange_bool_rel instead of atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel.
2003-03-20(atomic_decrement_if_positive): Adjust for the correct ↵Ulrich Drepper1-10/+9
atomic_compare_and_exchange_acq semantics.
2003-03-20* sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unusedRoland McGrath1-1/+2
variable. Remove superfluous memory clobber. * include/atomic.h: Syntax braino fix. * posix/tst-nice.c (do_test): Use %m formats instead of printing errno in decimal. Don't bail if niced at start. Just check that nice call bumps the total at all.
2003-03-20Define atomic_exchange and atomic_decrement_if_positive if not already ↵Ulrich Drepper1-5/+47
defined. Add some __builtin_expect.
2003-03-20Update.Ulrich Drepper1-0/+141
2003-03-19 Ulrich Drepper <drepper@redhat.com> * Makefile (distribute): Add include/atomic.h and bits/atomic.h. * include/atomic.h: New file. * sysdeps/i386/i486/bits/atomic.h: New file. * sysdeps/x86_64/bits/atomic.h: New file. * sysdeps/s390/bits/atomic.h: New file. * sysdeps/sh/bits/atomic.h: New file. * sysdeps/ia64/bits/atomic.h: New file. * sysdeps/powerpc/bits/atomic.h: New file. * sysdeps/generic/bits/atomic.h: New file. * sysdeps/i386/i486/atomicity.h: Removed. * sysdeps/x86_64/atomicity.h: Removed. * sysdeps/s390/s390-32/atomicity.h: Removed. * sysdeps/s390/s390-64/atomicity.h: Removed. * sysdeps/ia64/atomicity.h: Removed. * sysdeps/powerpc/powerpc32/atomicity.h: Removed. * sysdeps/powerpc/powerpc64/atomicity.h: Removed. * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust use of macros from atomicity.h to new names and semantics. * gmon_mcount.c: Likewise. * malloc/set-freeres.c: Likewise. * nscd/cache.c: Likewise. * stdlib/cxa_finalize.c: Likewise. * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. * sysdeps/mips/ieee754.h: New file, suitable to replace both * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle