This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]