RTI Connext C API  Version 5.1.0
DDS_ThreadSettings_t Struct Reference

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

Data Fields

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

Detailed Description

Field Documentation

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

DDS_Long DDS_ThreadSettings_t::priority

Thread priority.

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

DDS_Long DDS_ThreadSettings_t::stack_size

The thread stack-size.

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

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

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.;


RTI Connext C API Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc