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: Jakub Jelinek <jakub at redhat dot com>
- To: Roland McGrath <roland at redhat dot com>
- Cc: Steve Munroe <sjmunroe at us dot ibm dot com>, "Kevin B. Hendricks" <kevin dot hendricks at sympatico dot ca>, "Carlos O'Donell" <carlos at baldric dot uwo dot ca>, libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: Fri, 18 Apr 2003 12:42:08 +0200
- Subject: Re: [PATCH] PPC atomic.h add compare_exchange_val forms
- References: <OF9DC58F8C.DFBC89F3-ON86256D0B.0077C9C7-86256D0B.007A6222@rchland.ibm.com> <200304172224.h3HMOUE10352@magilla.sf.frob.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Apr 17, 2003 at 03:24:30PM -0700, Roland McGrath wrote:
> > assert (sizeof (pthread_mutex_t) <= __SIZEOF_PTHREAD_MUTEX_T);
> >
> > This fails the make check for the first case but works fine with the
> > second. But I am not sure what this assert is for (pthread_cond_init.c,
> > pthread_rwlock_init.c, and pthread_barrier_init.c don't do this)?
>
> If you are changing the sizes of the data structures in the ABI,
> you have to update the sizes in bits/pthreadtypes.h.
Not only that. You have to come with new symbol versions and add
compatibility code.
Jakub