Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

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