<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glibc/include/atomic.h, branch cvs/ChangeLog</title>
<subtitle>Fork of glibc for development</subtitle>
<id>https://git.zx2c4.com/glibc/atom/include/atomic.h?h=cvs%2FChangeLog</id>
<link rel='self' href='https://git.zx2c4.com/glibc/atom/include/atomic.h?h=cvs%2FChangeLog'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/'/>
<updated>2003-09-22T21:30:25Z</updated>
<entry>
<title>Update.</title>
<updated>2003-09-22T21:30:25Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2003-09-22T21:30:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=39358e8b2bbf78b3ee50027abcd12837473b5f9f'/>
<id>urn:sha1:39358e8b2bbf78b3ee50027abcd12837473b5f9f</id>
<content type='text'>
2003-09-22  Jakub Jelinek  &lt;jakub@redhat.com&gt;

	* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_timedlock_wait): Use
	lll_futex_timed_wait instead of lll_futex_wait.
	* sysdeps/unix/sysv/linux/s390/lowlevellock.c: Removed.
	* sysdeps/unix/sysv/linux/s390/lowlevelmutex.c: Removed.
	* sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c: Removed.
	* sysdeps/unix/sysv/linux/s390/libc-lowlevelmutex.c: Removed.
	* sysdeps/unix/sysv/linux/s390/sem_trywait.c: Removed.
	* sysdeps/unix/sysv/linux/s390/sem_wait.c: Removed.
	* sysdeps/unix/sysv/linux/s390/sem_post.c: Removed.
	* sysdeps/unix/sysv/linux/s390/sem_timedwait.c: Removed.
	* sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include atomic.h.
	Completely revamp the locking macros.  No distinction between
	normal and mutex locking anymore.
	* sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_lock_wait,
	__lll_lock_timedwait): Fix prototypes.
	* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_lock_wait,
	__lll_lock_timedwait): Likewise.
	(lll_mutex_lock, lll_mutex_cond_lock): Use _val instead of _bool
	macros, add __builtin_expect.
	(lll_mutex_timedlock): Likewise.  Fix return value.
	* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: Removed.
	* sysdeps/unix/sysv/linux/i386/i586/libc-lowlevelmutex.S: Removed.
	* sysdeps/unix/sysv/linux/i386/i586/lowlevelmutex.S: Removed.
	* sysdeps/unix/sysv/linux/i386/i686/libc-lowlevelmutex.S: Removed.
	* sysdeps/unix/sysv/linux/i386/i686/lowlevelmutex.S: Removed.
	* sysdeps/unix/sysv/linux/x86_64/libc-lowlevelmutex.S: Removed.
	* sysdeps/unix/sysv/linux/lowlevelmutex.c: Removed.
	* sysdeps/unix/sysv/linux/libc-lowlevelmutex.c: Removed.
</content>
</entry>
<entry>
<title>Update.</title>
<updated>2003-05-10T05:36:37Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2003-05-10T05:36:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=949ec7640747878988b3f8019a7b7f98c10ab3ac'/>
<id>urn:sha1:949ec7640747878988b3f8019a7b7f98c10ab3ac</id>
<content type='text'>
	* posix/sched.h: Change prototypes of sched_getaffinity and
	sched_setaffinity.  Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO.
	* sysdeps/generic/sched_getaffinity.c: Adjust definition.
	* sysdeps/generic/sched_setaffinity.c: Likewise.
	* sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS,
	__CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET,
	__CPU_CLR, and __CPU_ISSET.
	* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
	* sysdeps/unix/sysv/linux/sched_getaffinity.c: New file.
	* sysdeps/unix/sysv/linux/sched_setaffinity.c: New file.

	* include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange.
	(atomic_exchange_rel): New #define.
	* sysdeps/ia64/bits/atomic.h: Likewise.
	* sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from
	atomic_exchange.
	* sysdeps/m68k/m68020/bits/atomic.h: Likewise.
	* sysdeps/powerpc/bits/atomic.h: Likewise.
	* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise.
	* sysdeps/sparc/sparc64/bits/atomic.h: Likewise.
	* sysdeps/x86_64/bits/atomic.h: Likewise.
	* csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange.
</content>
</entry>
<entry>
<title>Update.</title>
<updated>2003-04-15T18:29:40Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2003-04-15T18:29:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=a1b5424f501c313eda811b1db124970c1777bd77'/>
<id>urn:sha1:a1b5424f501c313eda811b1db124970c1777bd77</id>
<content type='text'>
2003-04-15  Ulrich Drepper  &lt;drepper@redhat.com&gt;

	* include/atomic.h: Pretty printing.
</content>
</entry>
<entry>
<title>* csu/tst-atomic.c (do_test): Add some new</title>
<updated>2003-03-26T04:02:03Z</updated>
<author>
<name>Roland McGrath</name>
<email>roland@gnu.org</email>
</author>
<published>2003-03-26T04:02:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=859e708f0e44d50deff617c7fd939f4fba295afb'/>
<id>urn:sha1:859e708f0e44d50deff617c7fd939f4fba295afb</id>
<content type='text'>
	atomic_compare_and_exchange_val_acq, atomic_add_zero,
	atomic_compare_and_exchange_bool_acq and atomic_add_negative tests.
	* include/atomic.h (atomic_add_negative, atomic_add_zero):
	Prefix local variable so that it doesn't clash with the one
	in atomic_exchange_and_add.
	* sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void *
	pointers.
	(atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i.
	* sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force
	value into register.
	* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq):
	Cast newval to long.
	* sysdeps/x86_64/bits/atomic.h
	(__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to
	long.
	(atomic_exchange): Cast newvalue to long if sizeof == 8.
	(atomic_exchange_and_add): Cast value to long if sizeof == 8.
	(atomic_add, atomic_add_negative, atomic_add_zero): Likewise.
	(atomic_bit_set): Shift 1L up in all cases to shut up warnings.
</content>
</entry>
<entry>
<title>*** empty log message ***</title>
<updated>2003-03-25T23:41:38Z</updated>
<author>
<name>Andreas Schwab</name>
<email>schwab@suse.de</email>
</author>
<published>2003-03-25T23:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=9fdf211e6866677d67167ba7a77ac4798fe5cb1d'/>
<id>urn:sha1:9fdf211e6866677d67167ba7a77ac4798fe5cb1d</id>
<content type='text'>
	* sysdeps/m68k/m68020/bits/atomic.h: Fix typos.
	* include/atomic.h: Likewise.
</content>
</entry>
<entry>
<title>Update.</title>
<updated>2003-03-25T20:41:26Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2003-03-25T20:41:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=09402f5bc1d87787c84dbf75d41777c87b1ce40e'/>
<id>urn:sha1:09402f5bc1d87787c84dbf75d41777c87b1ce40e</id>
<content type='text'>
2003-03-25  Ulrich Drepper  &lt;drepper@redhat.com&gt;

	* csu/tst-atomic.c: Adjust tests to what atomic_add_negative and
	atomic_add_zero were supposed to do.
	* include/atomic.h: Adjust atomic_add_negative and atomic_add_zero
	to x86 behavior.

	* sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*.
	This matches the new timer implementation.
	* sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust
	timer info for what the kernel provides these days.
	(struct sigevent): Add _tid field.
	Define SIGEV_THREAD_ID.

	* Versions.def (librt): Add GLIBC_2.3.3.

	* abilist/libpthread.abilist: Update for nptl.
</content>
</entry>
<entry>
<title>* include/atomic.h: Put parens around all macro arguments.</title>
<updated>2003-03-22T23:38:18Z</updated>
<author>
<name>Roland McGrath</name>
<email>roland@gnu.org</email>
</author>
<published>2003-03-22T23:38:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=fe4610b3014b1de2e60c681cbd813bb18ff2afc8'/>
<id>urn:sha1:fe4610b3014b1de2e60c681cbd813bb18ff2afc8</id>
<content type='text'>
	(__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.
</content>
</entry>
<entry>
<title>* include/atomic.h (atomic_increment_and_test): Invert sense of test.</title>
<updated>2003-03-22T23:01:01Z</updated>
<author>
<name>Roland McGrath</name>
<email>roland@gnu.org</email>
</author>
<published>2003-03-22T23:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=d15851ec24d31ccf3ee9a4a388104974d1f494dc'/>
<id>urn:sha1:d15851ec24d31ccf3ee9a4a388104974d1f494dc</id>
<content type='text'>
	Add comment.
	(atomic_decrement_and_test): Add comment.

2003-03-22  Jakub Jelinek  &lt;jakub@redhat.com&gt;

	* 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.
</content>
</entry>
<entry>
<title>2003-03-21  Roland McGrath  &lt;roland@redhat.com&gt;</title>
<updated>2003-03-21T08:54:39Z</updated>
<author>
<name>Roland McGrath</name>
<email>roland@gnu.org</email>
</author>
<published>2003-03-21T08:54:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=916ff11ac778b19cb38b1f06d3daf5aaee7a0c87'/>
<id>urn:sha1:916ff11ac778b19cb38b1f06d3daf5aaee7a0c87</id>
<content type='text'>
	* include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.
</content>
</entry>
<entry>
<title>Define atomic_compare_and_exchange_val_acq, 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.</title>
<updated>2003-03-21T07:37:36Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2003-03-21T07:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=18627f615b80b51778a65cf588f2741ad5f9b0a7'/>
<id>urn:sha1:18627f615b80b51778a65cf588f2741ad5f9b0a7</id>
<content type='text'>
</content>
</entry>
</feed>
