RTI Connext Java API  Version 5.1.0
ThreadSettings_t Class Reference

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

Inherits Struct.

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.
 

Additional Inherited Members

- Public Member Functions inherited from Struct
abstract boolean equals (Object obj)
 
abstract int hashCode ()
 
String toString ()
 
- Protected Member Functions inherited from Struct
 Struct ()
 
abstract void pull_from_nativeI (long native_status)
 
abstract void push_to_nativeI (long native_status)
 

Detailed Description

Member Data Documentation

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.

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 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc