Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] thread safety
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-03-12 10:34:36

On Mar 12, 2010, at 12:01 AM, Samuel Thibault wrote:

> That being said, we could easily add a mutex which we take in write
> operations to become completely THREAD_MULTIPLE-safe, as there aren't so
> many write operations.

For now, let's just leave the mutex out and solve the issue through documentation. If it turns out that people want hwloc to use the one-big-mutex approach and make things like multiple writes safe, then we can always add that later.

Jeff Squyres
For corporate legal information go to: