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)
Sets the specified CPU number to be included in the set.
void Clear(std::int32_t cpuNum)
Sets the specified CPU number to be excluded by the set.
auto IsSet(std::int32_t cpuNum) -> bool
Returns true if the specified CPU number belongs to the set.