62.4.7 Thread Settings
Table 62.1 XML Tags for ThreadSettings_t describes the XML tags that you can use to configure thread settings. For more information on thread settings, see:
- Part 13: Connext Threading Model
- The "Thread Settings" section in each chapter of the RTI Connext Core Libraries Platform Notes
- The API Reference HTML documentation (select Modules, RTI Connext API Reference,Infrastructure Module, QoS Policies, Extended QoS Support, Thread Settings)
|
Tags within <thread> |
Description |
Number of Tags Allowed |
|
<cpu_list> |
Each <element> specifies a processor on which the thread may run. <cpu_list> Only applies to platforms that support controlling CPU core affinity (see Chapter 80 Controlling CPU Core Affinity for RTI Threads and the RTI Connext Core Libraries Platform Notes). Note: This value is only relevant to the DDS_ReceiverPoolQosPolicy. It is ignored within other QoS policies that include DDS_ThreadSettings_t. |
0 or 1 |
|
<cpu_ |
Determines how the CPUs in <cpu_list> will be used by the thread. The value can be either:
The thread can run on any listed processor, as determined by OS scheduling. The thread will be assigned a CPU from the list in round-robin order. Only applies to platforms that support controlling CPU core affinity (see the RTI Connext Core Libraries Platform Notes). Note: This value is only relevant to the DDS_ReceiverPoolQosPolicy. It is ignored within other QoS policies that include DDS_ThreadSettings_t. |
0 or 1 |
|
<mask> |
A collection of flags used to configure threads of execution. Not all of these options may be relevant for all operating systems. May include these bits:
It can also be set to a combination of the above bits by using the “or” symbol (|), such as STDIO|FLOATING_POINT. Default: MASK_DEFAULT |
0 or 1 |
|
<priority> |
Thread priority. The value can be specified as an unsigned integer or one of the following strings.
When using an unsigned integer, the allowed range is platform-dependent. When thread priorities are configured using XML, the values are considered native priorities. Example: <thread>
<mask>STDIO|FLOATING_POINT</mask>
<priority>10</priority>
When the XML file is loaded using the Java API, the priority is a native priority, not a Java thread priority. |
0 or 1 |
|
<stack_ |
Thread stack size, specified as an unsigned integer or set to the string THREAD_STACK_SIZE_DEFAULT. The allowed range is platform-dependent. |
0 or 1 |