ThreadSettings_t Class Reference
[Thread Settings]

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

Inherits Struct.

List of all members.

Public Attributes

int mask
 Describes the type of thread.
int priority
 Thread priority.
int stack_size
 The thread stack-size.
final IntSeq cpu_list = new IntSeq()
 The list of processors on which the thread(s) may run.
ThreadSettingsCpuRotationKind cpu_rotation
 Determines how processor affinity is applied to multiple threads.


Detailed Description

The properties of a thread of execution.

QoS:
com.rti.dds.infrastructure.EventQosPolicy com.rti.dds.infrastructure.DatabaseQosPolicy com.rti.dds.infrastructure.ReceiverPoolQosPolicy com.rti.dds.infrastructure.AsynchronousPublisherQosPolicy

Member Data Documentation

int mask

Describes the type of thread.

[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 if set in a QoS profile document

The thread stack-size.

[range] Platform-dependent.

final IntSeq cpu_list = new IntSeq()

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.

See also:
Controlling CPU Core Affinity for RTI Threads
[default] Empty sequence

Initial value:

        ThreadSettingsCpuRotationKind.THREAD_SETTINGS_CPU_NO_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.

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 Java API Version 4.5f Copyright © 17 Mar 2012 Real-Time Innovations, Inc