On 21/04/2012 23:36, Vlad wrote:
Will try this within a day or two. At the moment I am
simply using a retry loop on ENOSYS and usually no more than
one retry is needed.
taskdir is a different DIR* for each thread here: each thread does
its own get_last_cpu_location() which calls its own instance of
opendir(). Even if the directory behind these DIR* descriptors are
the same, it should be fine, there's no concurrency on the same DIR*
descriptor in readdir.
If the patch doesn't help,
can you send your code to help debug things?
hwloc-users mailing list