RTI Connext C API  Version 5.3.1
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
DDS_AsyncWaitSetProperty_t Struct Reference

Specifies the DDS_AsyncWaitSet behavior. More...

Data Fields

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

Detailed Description

Specifies the DDS_AsyncWaitSet behavior.

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

See Also
DDS_WaitSetProperty_t
DDS_ThreadSettings_t

Field 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 DDS_WaitSet.

[default] DDS_WaitSetProperty_t_INITIALIZER

See Also
DDS_WaitSetProperty_t
DDS_UnsignedLong DDS_AsyncWaitSetProperty_t::thread_pool_size

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

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 DDS_AsyncWaitSet.

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 DDS_AsyncWaitSet.

The composed name has the form:

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

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 DDS_AsyncWaitSet waits for an attached DDS_Condition to trigger before it wakes up.

Duration must be a value greater than zero.

See Also
DDS_WaitSet_wait

[default] DDS_DURATION_INFINITE

DDS_Long DDS_AsyncWaitSetProperty_t::level

Specifies the level of an DDS_AsyncWaitSet.

The level prevents an application to deadlock when it uses multiple DDS_AsyncWaitSet 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 DDS_AsyncWaitSet of bigger level.

[default] 1


RTI Connext C API Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc