|
B2BITS FIX Antenna HFT
1.0.17
|
Thread configuration parameters. More...
#include <B2BITS_ThreadsPool.h>
Collaboration diagram for Utils::ThreadAttrs:Public Member Functions | |
| ThreadAttrs (const char *name="FA thread") | |
| Constructor. More... | |
| ThreadAttrs (const std::string &name, System::u64 affinityMask=0, System::i32 assignment=0, System::i32 realtimePrio=0) | |
| Constructor. More... | |
Public Attributes | |
| System::u64 | affinityMask_ |
| thread affinity bitmask More... | |
| System::i32 | assignment_ |
| thread role More... | |
| std::string | name_ |
| thread name More... | |
| System::i32 | realtimePrio_ |
| scheduler realtime priority of the thread More... | |
Thread configuration parameters.
|
inline |
Constructor.
| name | thread name |
|
inline |
Constructor.
| name | thread name |
| affinityMask | the bitmask that defines allowed CPU cores, 0 means do not change affinity |
| assignment | defines thread role e.g. Engine::ThreadsAssignment::DISPATCHER_THREAD |
| realtimePrio | defines scheduler realtime priority of the thread (Linux only) 0 means do not change priority |
| System::u64 Utils::ThreadAttrs::affinityMask_ |
thread affinity bitmask
| System::i32 Utils::ThreadAttrs::assignment_ |
thread role
| std::string Utils::ThreadAttrs::name_ |
thread name
| System::i32 Utils::ThreadAttrs::realtimePrio_ |
scheduler realtime priority of the thread
1.8.5