This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] PPC atomic.h add compare_exchange_val forms
- From: Ulrich Drepper <drepper at redhat dot com>
- To: sjmunroe at vnet dot ibm dot com
- Cc: libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: Tue, 15 Apr 2003 11:42:31 -0700
- Subject: Re: [PATCH] PPC atomic.h add compare_exchange_val forms
- Organization: Red Hat, Inc.
- References: <3E9C2BC5.56E9CBD0@us.ibm.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steven Munroe wrote:
> Changes in nptl/pthreadP.h (introduced __do_cancel which uses
> THREAD_ATOMIC_BIT_SET) require atomic_compare_and_exchange_val_acq to be
> explicitely implemented for all architectes. PPC32 and PPC64 did not
> specifically define this form. The attached patch implement
> atomic_compare_and_exchange_val_acq for 32-bit (both PPC32/PPC64) and 64-bit
> (PPC64 only).
I've applied the patch after cleaning it up. Applied by hand, so what
out for merging errors.
But this makes one thing obvious: the file must be split. Please send a
patch which creates powerpc32/bits and powerpc64/bits files.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+nFKX2ijCOnn/RHQRAlvPAJ98C86WJz2gyEaOpEFTVfJL/vC41QCfVl8y
wJnRsB8WB6slXVRCMtjba10=
=2tTG
-----END PGP SIGNATURE-----