Don't retry more than 10 times in hwloc_linux_foreach_proc_tid()
Don't retry more than 10 times in hwloc_linux_foreach_proc_tid()

If, for some reason, the thread list doesn't change and one thread
keeps failing its callback, we don't want to retry forever.

Return EAGAIN instead.

git-svn-id: 14be032f8f42541b1a281b51ae8ea69814daf20e@4444 4b44e086-7f34-40ce-a3bd-00e031736276

BlueBrain/hwloc,BlueBrain/hwloc,BlueBrain/hwloc,BlueBrain/hwloc