Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: Re: [hwloc-users] topology object
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2010-05-25 17:26:09


Wheeler, Kyle Bruce, le Tue 25 May 2010 15:13:51 -0600, a écrit :
> On May 25, 2010, at 2:56 PM, Brice Goglin wrote:
>
> > On 25/05/2010 22:55, Wheeler, Kyle Bruce wrote:
> >> Is the hwloc_topology_t object thread-safe?
> >
> > No, see the thread-safery section in the doc.
>
> Ah. Hm. Good to know... but that doesn't entirely answer my question. The function I'm most interested in at the moment is hwloc_set_cpubind(), which requires a topology argument... but it's not clear to me if that is reading or modifying the topology data structure. I would assume it's just reading, but I figured it's better to ask.

It's just reading.

Samuel