[PATCH] PPC atomic.h add compare_exchange_val forms
Jakub Jelinek
jakub@redhat.com
Fri Apr 18 10:42:00 GMT 2003
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
More information about the Libc-alpha
mailing list