This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] glibc 2.2.94 - hppa - pthreads support
- From: Ulrich Drepper <drepper at redhat dot com>
- To: "Carlos O'Donell" <carlos at baldric dot uwo dot ca>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 24 Sep 2002 22:35:02 -0700
- Subject: Re: [PATCH] glibc 2.2.94 - hppa - pthreads support
- References: <20020925030946.GC6883@systemhalted>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Carlos O'Donell wrote:
> diff -urN libc/linuxthreads/oldsemaphore.c libc/linuxthreads/oldsemaphore.c
> --- libc/linuxthreads/oldsemaphore.c Wed Nov 14 09:47:09 2001
> +++ libc/linuxthreads/oldsemaphore.c Wed Nov 14 09:43:58 2001
> @@ -73,7 +73,7 @@
> errno = ENOSYS;
> return -1;
> }
> - sem->sem_spinlock = __LT_SPINLOCK_INIT;
> + sem->sem_spinlock = __ATOMIC_LOCK_INIT;
> sem->sem_status = ((long)value << 1) + 1;
> return 0;
This part and all that are similar are bogus.
__LT_SPINLOCK_INIT was introduced explicitly for PA. EIther you
misunderstoof this or you're deliberately renaming something. The
latter will not happen. Only the absolute minimum of changes is going in.
- --
- ---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9kUsG2ijCOnn/RHQRAp4cAJ9ERlx29P0vchVF4Lt18wsQMldRBQCdGf0n
4yy230f3U10SjFxjSaMLM7o=
=1+jD
-----END PGP SIGNATURE-----