RTI Connext C API  Version 5.0.0
Unsupported Utilities

Unsupported APIs used by examples in the RTI Connext distribution as well as in rtiddsgen-generated examples. More...

Data Structures

struct  NDDS_Utility
 Unsupported utility APIs. More...
 

Functions

void NDDS_Utility_sleep (const struct DDS_Duration_t *durationIn)
 Block the calling thread for the specified duration.
 

Detailed Description

Unsupported APIs used by examples in the RTI Connext distribution as well as in rtiddsgen-generated examples.

Function Documentation

void NDDS_Utility_sleep ( const struct DDS_Duration_t durationIn)

Block the calling thread for the specified duration.

Note that the achievable resolution of sleep is OS-dependent. That is, do not assume that you can sleep for 1 nanosecond just because you can specify a 1-nanosecond sleep duration via the API. The sleep resolution on most operating systems is usually 10 ms or greater.

Parameters
durationIn<<in>> Sleep duration. Cannot be NULL.
MT Safety:
safe
Examples:
HelloWorld_publisher.c, and HelloWorld_subscriber.c.

RTI Connext C API Version 5.0.0 Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc