RTI Connext Traditional C++ API  Version 5.3.0
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
DDS_AsyncWaitSetProperty_t Struct Reference

Specifies the DDSAsyncWaitSet behavior. More...

Public Attributes

struct DDS_WaitSetProperty_t waitset_property
 Specifies the behavior of the asynchronous wait behavior, which is equivalent to the wait mechanism of a DDSWaitSet.
 
DDS_UnsignedLong thread_pool_size
 Number of threads that conform the thread pool of the DDSAsyncWaitSet.
 
struct DDS_ThreadSettings_t thread_settings
 DDS_ThreadSettings_t for each thread conforming the thread pool of the DDSAsyncWaitSet.
 
char * thread_name_prefix
 Prefix used to composed the name of each thread that conforms the thread pool the DDSAsyncWaitSet.
 
struct DDS_Duration_t wait_timeout
 Asynchronous wait timeout.
 
DDS_Long level
 Specifies the level of an DDSAsyncWaitSet.
 

Detailed Description

Specifies the DDSAsyncWaitSet behavior.

This property allows configuring the behavior of the asynchronous wait and the DDSCondition dispatch, as well as the parameters of the thread pool.

See Also
DDS_WaitSetProperty_t
DDS_ThreadSettings_t

Member Data Documentation

struct DDS_WaitSetProperty_t DDS_AsyncWaitSetProperty_t::waitset_property

Specifies the behavior of the asynchronous wait behavior, which is equivalent to the wait mechanism of a DDSWaitSet.

See Also
DDS_WaitSetProperty_t
DDS_UnsignedLong DDS_AsyncWaitSetProperty_t::thread_pool_size

Number of threads that conform the thread pool of the DDSAsyncWaitSet.

Size must be equal or greater than one.

[default] 1

struct DDS_ThreadSettings_t DDS_AsyncWaitSetProperty_t::thread_settings

DDS_ThreadSettings_t for each thread conforming the thread pool of the DDSAsyncWaitSet.

Each thread within the pool is created with the same settings.

[default] Default thread settings values.

See Also
DDS_ThreadSettings_t
char* DDS_AsyncWaitSetProperty_t::thread_name_prefix

Prefix used to composed the name of each thread that conforms the thread pool the DDSAsyncWaitSet.

The composed name has the form:

thread_name_prefix#[index] where [index] is an integer that identifies the thread relative to the DDSAsyncWaitSet.

If NULL, the default prefix will be used.

[default] NULL

struct DDS_Duration_t DDS_AsyncWaitSetProperty_t::wait_timeout

Asynchronous wait timeout.

Specifies the maximum amount of time the leader thread of the DDSAsyncWaitSet waits for an attached DDSCondition to trigger before it wakes up.

Duration must be a value greater than zero.

See Also
DDSWaitSet::wait

[default] DDS_DURATION_INFINITE

DDS_Long DDS_AsyncWaitSetProperty_t::level

Specifies the level of an DDSAsyncWaitSet.

The level prevents an application to deadlock when it uses multiple DDSAsyncWaitSet instances that call operations on each other from the context of one of their thread pool's thread.

Inside the context of one of these threads, the application can synchronize only with other DDSAsyncWaitSet of bigger level.

[default] 1


RTI Connext Traditional C++ API Version 5.3.0 Copyright © Sun Jun 25 2017 Real-Time Innovations, Inc