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: Roland McGrath <roland at redhat dot com>
- To: "Steve Munroe" <sjmunroe at us dot ibm dot com>
- Cc: "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: Thu, 17 Apr 2003 15:24:30 -0700
- Subject: Re: [PATCH] PPC atomic.h add compare_exchange_val forms
> 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.