This is the mail archive of the glibc-cvs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]