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] [PATCH] Replace readdir() with readdir_r()
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2010-03-18 18:37:57

Samuel Thibault wrote:
> Brice Goglin, le Thu 18 Mar 2010 22:58:35 +0100, a écrit :
>> Bert Wesarg wrote:
>>> Make the linux backend more re-entrant safe by using readdir_r() instead
>>> of readdir().
>> Changing so many lines because of bugs that don't exist yet doesn't
>> look like a good idea to me.
> Err, they do already exist. We've just documented that it was safe to
> work on separate topology objects in different threads, so readdir is
> indeed an issue :)

Only if using the same directory stream. It's not the case here.