Jeff Squyres, le Fri 18 Feb 2011 17:03:49 +0100, a écrit :
> On Feb 18, 2011, at 10:55 AM, Jeff Squyres wrote:
> > Let's do pthread_once() -- we don't have any of the infrastructure mojo for memory barriers.
> Better yet, let's avoid all the memory barrier issues and pthread_once issues by just hard-coding the order of constants and putting a strongly-worded comment around it not to muck with the ordering.
And a strong comment in the HWLOC_OBJ_* enumeration to remind to update
the array when adding new object types.