Unsupported Utilities
[RTI Data Distribution Service API Reference]

Unsupported APIs used by examples in the RTI Data Distribution Service 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 Data Distribution Service 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 Data Distribution Service C API Version 4.5e Copyright © 23 Oct 2011 Real-Time Innovations, Inc