You are here: Part 3: Advanced Concepts > Connext DDS Threading Model

Connext DDS Threading Model

This chapter describes the internal threads that Connext DDS uses for sending and receiving data, maintaining internal state, and calling user code when events occur such as the arrival of new DDS data samples. It may be important for you to understand how these threads may interact with your application.

A DomainParticipant uses three types of threads. The actual number of threads depends on the configuration of various QosPolicies as well as the implementation of the transports used by the DomainParticipant to send and receive data.

Through various QosPolicies, the user application can configure the priorities and other properties of the threads created by Connext DDS. In real-time systems, the user often needs to set the priorities of all threads in an application relative to each other for the proper operation of the system.

This chapter includes:

Database Thread

Event Thread

Receive Threads

Exclusive Areas, Connext DDS Threads, and User Listeners

Controlling CPU Core Affinity for RTI Threads

Configuring Thread Settings with XML

User-Managed Threads

© 2016 RTI