This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc include/atomic.h csu/tst-atomic.c
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 22 Mar 2003 23:38:04 -0000
- Subject: libc include/atomic.h csu/tst-atomic.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland at sourceware dot org 2003-03-22 23:38:04
Modified files:
include : atomic.h
csu : tst-atomic.c
Log message:
2003-03-22 Roland McGrath <roland at redhat dot com>
* include/atomic.h: Put parens around all macro arguments.
(__atomic_val_bysize, __atomic_bool_bysize): New macros.
(atomic_compare_and_exchange_val_acq): Use it.
(atomic_compare_and_exchange_bool_acq): Likewise.
(atomic_increment_and_test): Invert sense of test.
(atomic_decrement_and_test): Likewise.
* csu/tst-atomic.c: Update those tests to match.