nCine::ThreadAffinityMask class

CPU affinity mask for a thread.

Constructors, destructors, conversion operators

ThreadAffinityMask()
ThreadAffinityMask(std::int32_t cpuNum)

Public functions

void Zero()
Clears the CPU set.
void Set(std::int32_t cpuNum)
Includes the specified CPU number into the set.
void Clear(std::int32_t cpuNum)
Excludes the specified CPU number from the set.
auto IsSet(std::int32_t cpuNum) -> bool
Returns true if the specified CPU number belongs to the set.