Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] The de-C99 of hwloc
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-02-18 11:49:47


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.

Samuel