Subject: Re: [hwloc-devel] [PATCH 2/2] Provide hwloc_cpuset_next() and use it in hwloc_cpuset_foreach From: Brice Goglin (Brice.Goglin_at_[hidden]) Date: 2010-03-12 04:14:32
Bert Wesarg wrote:
> The hwloc_cpuset_next() will calculate the next cpu behind a given one.
>
> Use hwloc_cpuset_first() and hwloc_cpuset_next() in hwloc_cpuset_foreach()
> to sparsely iterate over a cpuset.
>