RTI Connext Traditional C++ API Version 7.2.0

The properties of a thread of execution. More...

Public Attributes

DDS_ThreadSettingsKindMask mask
 Describes the type of thread. More...
 
DDS_Long priority
 Thread priority. More...
 
DDS_Long stack_size
 The thread stack-size. More...
 
struct DDS_LongSeq cpu_list
 The list of processors on which the thread(s) may run. More...
 
DDS_ThreadSettingsCpuRotationKind cpu_rotation
 Determines how processor affinity is applied to multiple threads. More...
 

Detailed Description

Member Data Documentation

◆ mask

DDS_ThreadSettingsKindMask DDS_ThreadSettings_t::mask

Describes the type of thread.

The meaning of each bit of the mask are defined by DDS_ThreadSettingsKind.

[default] 0, use default options of the OS

◆ priority

DDS_Long DDS_ThreadSettings_t::priority

Thread priority.

[range] Platform-dependent - Consult Platform Notes for additional details.

◆ stack_size

DDS_Long DDS_ThreadSettings_t::stack_size

The thread stack-size.

[range] Platform-dependent. Consult Platform Notes for additional details.

◆ cpu_list

struct DDS_LongSeq DDS_ThreadSettings_t::cpu_list

The list of processors on which the thread(s) may run.

A sequence of integers that represent the set of processors on which the thread(s) controlled by this QoS may run. An empty sequence (the default) means the middleware wlll make no CPU affinity adjustments.

Note: This feature is currently only supported on a subset of architectures (see the Platform Notes). The API may change as more architectures are added in future releases.

This value is only relevant to the DDS_ReceiverPoolQosPolicy. It is ignored within other QoS policies that include DDS_ThreadSettings_t.

See also
Controlling CPU Core Affinity for RTI Threads

[default] Empty sequence

◆ cpu_rotation

DDS_ThreadSettingsCpuRotationKind DDS_ThreadSettings_t::cpu_rotation

Determines how processor affinity is applied to multiple threads.

This value is only relevant to the DDS_ReceiverPoolQosPolicy. It is ignored within other QoS policies that include DDS_ThreadSettings_t.

See also
Controlling CPU Core Affinity for RTI Threads

Note: This feature is currently only supported on a subset of architectures (see the Platform Notes). The API may change as more architectures are added in future releases. ;