RTI Connext Java API
Version 6.1.0
|
The properties of a thread of execution. More...
Inherits Struct.
Public Attributes | |
int | mask |
Describes the type of thread. More... | |
int | priority |
Thread priority. More... | |
int | stack_size |
The thread stack-size. More... | |
final IntSeq | cpu_list = new IntSeq() |
The list of processors on which the thread(s) may run. More... | |
ThreadSettingsCpuRotationKind | cpu_rotation |
Determines how processor affinity is applied to multiple threads. More... | |
The properties of a thread of execution.
int mask |
Describes the type of thread.
The meaning of each bit of the mask are defined by com.rti.dds.infrastructure.ThreadSettingsKind.
[default] 0, use default options of the OS
int priority |
Thread priority.
Important: The interpretation of numeric thread priority values is different based on whether the priority is specified in your application code or in an XML QoS profile document. This is because QoS profile documents are intended to be usable across programming languages.
[range] java.lang.Thread.MIN_PRIORITY to MAX_PRIORITY if set programmatically in Java code [range] Platform-dependent - Consult Platform Notes for additional details. if set in a QoS profile document
int stack_size |
The thread stack-size.
[range] Platform-dependent. Consult Platform Notes for additional details.
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 com.rti.dds.infrastructure.ReceiverPoolQosPolicy. It is ignored within other QoS policies that include com.rti.dds.infrastructure.ThreadSettings_t.
[default] Empty sequence
ThreadSettingsCpuRotationKind cpu_rotation |
Determines how processor affinity is applied to multiple threads.
This value is only relevant to the com.rti.dds.infrastructure.ReceiverPoolQosPolicy. It is ignored within other QoS policies that include com.rti.dds.infrastructure.ThreadSettings_t.
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.