[PATCH] PPC atomic.h add compare_exchange_val forms

Roland McGrath roland@redhat.com
Thu Apr 17 22:24:00 GMT 2003


>   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.



More information about the Libc-alpha mailing list