OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
ThreadAffinity Class Reference

Public Member Functions

 ThreadAffinity ()
 ThreadAffinity (const ThreadAffinity &other)
 ~ThreadAffinity ()
 operator bool () const
const CpuIndicescpus () const
CpuIndicescpus ()

Detailed Description

Definition at line 47 of file ThreadPool.h.

Constructor & Destructor Documentation

◆ ThreadAffinity() [1/2]

ThreadAffinity ( )
inline

Initializes the empty set.

Definition at line 53 of file ThreadPool.h.

◆ ThreadAffinity() [2/2]

ThreadAffinity ( const ThreadAffinity & other)
inline

Initializes as a copy of the other set.

Definition at line 58 of file ThreadPool.h.

◆ ~ThreadAffinity()

~ThreadAffinity ( )
inline

Utilizes internal resources.

Definition at line 65 of file ThreadPool.h.

Member Function Documentation

◆ cpus() [1/2]

CpuIndices & cpus ( )
inline

Collection of the CPU indices.

Definition at line 82 of file ThreadPool.h.

◆ cpus() [2/2]

const CpuIndices & cpus ( ) const
inline

Read-only access to the indices.

Definition at line 76 of file ThreadPool.h.

◆ operator bool()

operator bool ( ) const
inline

Indicates whether affinity is defined.

Definition at line 70 of file ThreadPool.h.