Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] multiple simultaneous topology inits?
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-02-28 16:06:11


Guy Streeter, le Mon 28 Feb 2011 21:52:47 +0100, a écrit :
> I was considering the design of an administration tool in python, and my
> original idea was to have each module that needs the topology object create
> its own. This means that different parts of the same program (but possibly
> in different threads) would call init and load on their own topology
> structure, and use that structure in their hwloc routines calls.

This is not a problem. Did you have a look at the Thread Safety section
of the doxygen documentation?

Samuel