thread

How to change thread priority?

Hello everyone,

I am having some troubles with thread priorities.

I am running a pub/sub application on VxWorks and I notice that for each pub/sub that I run, 4 threads with priority 71 are created (named RTIOsapi).

I looked for it on the platform notes and I noticed that "71" is the THREAD_PRIORITY_ABOVE_NORMAL value for VxWorks.

I would like to change this value somewhere in the XML QoS file. I found out that there is a tag:

<thread>

     <priority>...</priority>

</thread>

Read with query condition - .Net thread safety

I am using the C# .Net API for RTI Community DDS.

I am trying to query DDS on demand using a QueryCondition and read_w_condition() on a typed DataReader. I am trying to use the DataReader to access or take data I have previously published on demand from the application so that I can use DDS as a store of data. I am using multiple threads as I am servicing multiple interfaces.

Subscribe to RSS - thread