On Wed, Mar 19, 2014 at 3:40 PM, Ted Unangst <[email protected]> wrote: ... > If we're going to do this, I think we need to do it the right way. > > 1. Export opaque storage types, as in > typedef struct _sem_storage { > char payload[64]; > } sem_t; > Then librthread will be able to add and shuffle fields inside the > struct as necessary.
It better be an array of long and not char. Or maybe it'll need to have an explicit __align() with an MD argument (thank you, hppa). Philip
