2003-03-22 Roland McGrath <roland@redhat.com>
authorroland <roland>
Sat, 22 Mar 2003 23:38:04 +0000 (23:38 +0000)
committerroland <roland>
Sat, 22 Mar 2003 23:38:04 +0000 (23:38 +0000)
commite48d833ba37569d29d01350c395d429cf12aaead
tree395989a05378a7b954aae9ab61f562dec5d97b11
parent340a385602c5ffcacbe19cc6ebbdd46e7764663e
2003-03-22  Roland McGrath  <roland@redhat.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.
csu/tst-atomic.c
include/atomic.h