1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-04-26 15:09:05 +03:00
Roland McGrath d15851ec24 * include/atomic.h (atomic_increment_and_test): Invert sense of test.
Add comment.
	(atomic_decrement_and_test): Add comment.

2003-03-22  Jakub Jelinek  <jakub@redhat.com>

	* include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment.
	Don't define if __arch_compare_and_exchange_val_32_acq is not defined.
	(atomic_compare_and_exchange_bool_acq): Add comment.  Don't use
	__oldval variable in the macro, since it might be macro argument.
	(atomic_decrement_if_positive): Initialize __memp, remove setting
	of non-existent variable.
	(atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting.
	* sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement
	using atomic_compare_and_exchange_val_acq.
	(atomic_decrement_if_positive, atomic_bit_test_set): Define.
	* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
	Renamed from...
	(__arch_compare_and_exchange_bool_8_acq): ... this.
	(__arch_compare_and_exchange_val_16_acq): Renamed from...
	(__arch_compare_and_exchange_bool_16_acq): ... this.
	(__arch_compare_and_exchange_val_32_acq): Return old value.  Renamed
	from...
	(__arch_compare_and_exchange_bool_32_acq): ... this.
	(__arch_compare_and_exchange_val_64_acq): Return old value.  Renamed
	from...
	(__arch_compare_and_exchange_bool_64_acq): ... this.
	(__arch_compare_and_exchange_val_32_acq): Use __typeof for local
	variables types instead of assuming int.
	Change prefix of local variables to __arch.
	* sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq):
	Remove.
	(atomic_compare_and_exchange_val_acq,
	atomic_compare_and_exchange_bool_acq): Define.

	* csu/tst-atomic.c: New test.
	* csu/tst-atomic-long.c: New test.
	* csu/Makefile (tests): Add tst-atomic and tst-atomic-long.

	* malloc/memusagestat.c (main): Kill warning if uint64_t is ulong.

	* sysdeps/s390/Versions: Add trailing newline.

	* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning
	if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument.
2003-03-22 23:01:01 +00:00
..
2003-03-03 10:05:49 +00:00
2003-03-03 10:05:49 +00:00
2003-03-03 05:00:33 +00:00
2002-12-31 20:46:11 +00:00
2003-03-03 10:05:49 +00:00
2003-03-03 10:05:49 +00:00
2002-10-03 08:58:56 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2003-02-20 05:30:35 +00:00
2002-12-16 23:38:42 +00:00
2003-03-04 19:46:28 +00:00
2002-10-03 16:37:04 +00:00
2002-12-31 20:46:11 +00:00
2002-07-25 08:19:59 +00:00
2001-07-06 04:58:11 +00:00
2002-05-15 00:22:23 +00:00
2003-03-03 04:57:09 +00:00
2003-03-03 04:57:09 +00:00
2003-03-03 04:57:09 +00:00
2003-03-03 04:57:09 +00:00
2001-07-06 04:58:11 +00:00
2001-07-31 20:32:01 +00:00
2002-12-15 10:26:23 +00:00
2003-02-21 07:07:52 +00:00
2002-06-09 20:15:14 +00:00
2003-02-26 00:01:15 +00:00
2002-03-01 09:44:29 +00:00
2002-06-09 20:15:14 +00:00
2001-07-12 06:32:02 +00:00
2001-07-06 04:58:11 +00:00
2002-09-15 02:37:32 +00:00
2001-07-06 04:58:11 +00:00
2002-12-06 23:38:01 +00:00
2003-03-14 06:28:45 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-09-21 05:54:00 +00:00
2001-07-06 04:58:11 +00:00
2001-08-17 07:51:36 +00:00
2002-01-31 03:41:25 +00:00
2000-08-17 19:36:13 +00:00
2002-12-30 02:31:19 +00:00
2000-08-12 05:14:52 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-12-31 17:46:59 +00:00
2002-08-03 07:02:10 +00:00
2001-07-06 04:58:11 +00:00
2002-05-15 00:22:23 +00:00
2003-03-21 08:03:25 +00:00
2002-07-20 01:14:41 +00:00
2002-09-21 05:54:00 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-07-20 17:31:30 +00:00
2002-12-15 11:24:42 +00:00
2003-03-14 06:28:45 +00:00
2002-05-15 00:22:23 +00:00
2002-12-15 10:26:23 +00:00
2002-07-20 01:14:41 +00:00
2001-07-06 04:58:11 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2002-03-02 00:48:30 +00:00
2002-07-25 08:19:59 +00:00
2002-12-15 10:26:23 +00:00
2001-07-06 04:58:11 +00:00
2003-03-14 06:28:45 +00:00
2003-03-14 06:28:45 +00:00
2000-11-15 23:56:34 +00:00
2002-12-15 10:26:23 +00:00
2003-02-05 23:30:38 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2001-07-06 04:58:11 +00:00
2003-01-16 18:14:10 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2002-05-30 23:35:59 +00:00
2000-08-19 16:58:09 +00:00
2000-08-19 16:58:09 +00:00
2001-07-06 04:58:11 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-04-14 20:15:40 +00:00
2002-11-03 08:52:36 +00:00
2002-05-15 06:02:35 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2002-05-15 00:22:23 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2003-01-03 01:35:14 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2003-01-09 04:19:03 +00:00
2002-12-15 10:26:23 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-09-21 05:54:00 +00:00
2002-12-15 10:26:23 +00:00
2003-02-17 20:46:52 +00:00
2003-02-21 00:12:29 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2003-02-25 02:46:33 +00:00
2001-09-25 03:04:41 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-12-16 23:38:42 +00:00
2002-12-15 10:26:23 +00:00
2002-08-04 09:27:27 +00:00