#include <OnixS/CME/iLink3/threading/Thread.h>
Public Member Functions | |
ThreadAffinity (const std::string &str) | |
~ThreadAffinity () | |
const CpuIndexes & | cpuIndexes () const |
CpuIndexes & | cpuIndexes () |
std::string | toString () |
|
explicit |
Constructs thread affinity from the string presentation.
Symbol ',' is used as the CPU index delimiter.
~ThreadAffinity | ( | ) |
Destructs the instance.
const CpuIndexes& cpuIndexes | ( | ) | const |
Read-only access to index collection.
CpuIndexes& cpuIndexes | ( | ) |
Collection of CPU indices.
std::string toString | ( | ) |
Serializes thread affinity to the string presentation.