HomeFreeBSD

Add helper macros to iterate over available CPUs in the system.
rS209050Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Add helper macros to iterate over available CPUs in the system.
CPU_FOREACH(i) iterates over the CPU IDs of all available CPUs. The
CPU_FIRST() and CPU_NEXT(i) macros can also be used to iterate over
available CPU IDs. CPU_NEXT(i) wraps around to CPU_FIRST() rather than
returning some sort of terminator.

Requested by: rwatson
Reviewed by: attilio

Details

Provenance
jhbAuthored on
Parents
rS209049: iMFC r208484: Fix back references in substitute command for pax(1)
Branches
Unknown
Tags
Unknown

Event Timeline